[Search tip detail and code files using keywords, tip number, author name, etc ]
 
Ensure Aligned Dimension Text
Tip# 4430 By Scott Lawson On 02-Mar-2015
0
Rated By 0 users
Categories : Dimension
Software type : AutoCAD 2015
Rename File To : No Files to download.
This tip automates several steps to ensure consistency and speed while dimensioning.

If you dimension in paper space, you know that it is difficult to get the dimension text to align to objects that are at angles other than 0 or 90.

Using a simple toolbar button macro, you can ensure that the dimension text angle will match the angle of the object being dimensioned. Simply launch the macro, select two points on the object using the nearest snaps, and then pick the beginning and end points of the object being dimensioned.

Here is the macro code:

     ^C^C_ucs;nea;
ea;;'orthomode;0;_dimlinear;;; ucs;w;

See also, similar tip #4223.

Notes from Cadalyst tip reviewer R.K. McSwain: This is a good tip that automates several steps to ensure consistency and speed while dimensioning.
 

 

Average Rating:
0


User comments
Comment by Cooper,Kent
Posted on 2015-03-02 07:59:18
No, it's not difficult at all, and you most definitely do NOT need to change the UCS (who wants to do that separately for every Dimension you draw?). Go into the Dimension Style Manager ("D" command alias), check the Style you want, pick Modify, go into the Text tab, and under Text Alignment, pick Align with Dimension Line.
Comment by Cooper,Kent
Posted on 2015-03-02 08:00:32
,,, and of course, use DIMALIGNED for the Dimension.
Comment by Edge,Soft
Posted on 2015-03-02 23:57:54
i like scott lawsons because you can also turn on and off the grid snap to set consistent spacing between dimension lines even in the aligned dimension mode. of course you wil have to preset your grid to the spacing you need. this works when the ucs is aligned with the dimension.
Comment by Eaton,Nancy
Posted on 2015-03-04 09:12:10
To get consistent spacing between dimension lines set the dimension baseline spacing (DIMDLI) to the distance wanted (ex. DIMDLI = 0.2) and use the DIMBASE command to place layered dimensions. Standard AutoCAD textstyle has DIMDLI set to 0.38 which is too large for most users. Check out the QDIM command to dimension many elements with one click.QDIM are continued horizontal or vertical dimensions.
Comment by Karikomi,Edward
Posted on 2015-03-07 10:37:31
Why can't you just use DIMROTATED to get the correct angle on your dimensions instead of resetting the UCS? I've even changed the ALIAS EDITOR to make DDR the macro for DIMROTATED.