The document contains a Lisp function for AutoCAD that aligns text or mtext based on user-selected points. It calculates the insertion point and angle for the text based on the distance and angle between two specified points. The function also handles the creation of new text entities and deletion of the original text after alignment.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
6 views3 pages
03_text_alignment
The document contains a Lisp function for AutoCAD that aligns text or mtext based on user-selected points. It calculates the insertion point and angle for the text based on the distance and angle between two specified points. The function also handles the creation of new text entities and deletion of the original text after alignment.
(alert "\n It is not a text or mtext") t );;end condition3 ) ;;end inner condition );;end check if it is a list (t (alert "\n** Nothing Selected **") t );;end condition1 );;end general condition );;end progn );;end while (princ) );;end function