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