[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.
Make Text Readable
Tip# 3972 By Alan Thompson On 14-Sep-2012
0
Rated By 0 users Downloaded : 207
Categories : Multiline Text, Single-Line Text
Software type : AutoCAD 2013
Rename File To : TextReadable.LSP
Rotate upside-down text and mtext.

Alan Thompson gives us a routine to rotate AutoCAD text and mtext that is currently upside-down into a position where it can be read normally. Start by loading the LISP file, then execute the command by typing in Read. Your selection set will be filtered so that only text and mtext are selected. Items in the selection set whose rotation angle is between –90 degrees and 90 degrees will not be altered, but items whose rotation angle is between 90 and 270 degrees will be rotated in place by 180 degrees. You don’t even have to worry about the justification of the text/mtext. This routine includes code to find the theoretical center point of each text/mtext object and use that for the rotation point — a neat trick that could be used in a variety of other ways. Thanks, Alan.

 

Average Rating:
0


User comments


Log In