[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Rotate Text
Tip# 3425 By Neil D. Culver On 15-May-2010
Rated By 1 users Downloaded : 1124
Categories : Multiline Text, Single-Line Text, 2D Editing
Software type : AutoCAD 2011
Rename File To : RO.LSP
Rotate text or mtext to one of three absolute angles or one relative angle.

If you have to rotate text or mtext often, Registered Professional Land Surveyor Neil Culver's routines can save you some time. This tip comprises four text rotation routines, the first three of which rotate text to absolute rotation angles of 0°, 45°, and 90°. The last routine rotates text 180° relative to its current angle, essentially flipping it. These routines are good examples of using the (subst) and (entmod) functions, which modify entity lists. One suggested improvement: the four separate functions could be consolidated into a single function to reduce code duplication. To use, load the LISP file and start the desired command by entering R0, R45, R90, or R180 at the Command line.


Average Rating:

User comments