First-time contributor Lee submits a LISP routine that allows you to dynamically place text or mtext along a curve object, which in this context refers to a spline, arc, circle, or LWpolyline. Load the LISP file, then start the routine by entering DTCurve at the Command line. You are first prompted to pick an existing text or mtext object, or enter a new text string. Then you are prompted to select a curve object. At this point, the text string is attached to your cursor and as you move the cursor along the curve, the text moves with it. During the command before you decide on final placement of the text, there are options to change the offset, change the textstyle, mirror the text, and/or add background mask, in the case of mtext. Once you choose a point to place the text, it is associated with the curve object. If you change the curve, the text adjusts automatically. A separate command, DTRemove, is used to remove this associativity. Lee's routine is a great example of LISP coding, with plenty of comments.  |