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. |