Incremental Numbering Suite is a comprehensive routine from Lee McDonnell for placing incremental alphanumeric text labels in an AutoCAD drawing. To use this routine, load the LISP file, then type in the command NumInc. The routine starts with a dialog interface that allows you to add a prefix and suffix; control which portion of the label to increment; set the style, height, and layer for the label; and select the type and size of an optional label border. After you have made your choices, the first label is attached to the cursor waiting on you to pick a location, and this repeats as long as you keep picking points. While the command is active, there are several hot keys available to perform actions such as rotating the label by 90 degrees and by smaller increments. Another hot key takes the routine into Curve-Aligned mode, where the labels follow a curved object such as a polyline or spline. When you are finished, press the Enter key. Your previous dialog choices are saved for the next time you run this routine.
Lee has included a couple of animations showing two features of this routine. The code itself demonstrates creating a DCL file on the fly and provides good examples of LISP coding in general. Way to go, Lee.
|