Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

Dimension Text Angle

$
0
0

I would like to create a command in the Annotate menu that will turn dimensioning text 90 degrees or back to 0 degrees depending on what degrees it is currently at.  I am struggling with finding a dim variable or system variable that stores the current angle.  I am just learning how to write macros and applying them to the menu with the CUI.  Any help would be appreciated greatly.  I have explored the following macro with what I could gleen online.

 

^c^c\dimedit;rotate;$m=$(if(=90 0)(90));

 

Or something like that.

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 14319

Trending Articles