[Search tip detail and code files using keywords, tip number, author name, etc ]
 
Quick Text Align Macro
Tip# 4263 By Scott Lawson On 24-Feb-2014
0
Rated By 0 users
Categories : Object Properties, Notes/Text
Software type : AutoCAD 2014
Rename File To : No Files to download.
Easily align text to an object at an odd angle.

Are you tired of having to align text to an object at an odd angle the old-fashioned way? With this tip from Scott Lawson, you can align text to any line or object in just a few picks. Create a quick button macro using the Torient command and the nearest osnap, launch the command, choose the text object, pick the first and second points to align, and voila.

Macro code:

     ^C^Ctorient;\;nea;\nea;

This macro works with most versions of AutoCAD, Civil 3D, etc. with Express Tools installed.



Notes from Cadalyst tip reviewer R.K. McSwain: This is a good example of scripting a frequently used command to reduce keystrokes and save time.

 

Average Rating:
0


User comments