Jeffery also sent Incrementing Attribute Values in Blocks (Tip #2068). Place the LSP and DCL files in a folder known by AutoCAD's search path. Load the ATTINC.LSP program file, and then type ATTINC at the AutoCAD Command line. The first request is for a block inserted into the current drawing with at least one attribute. If you select a proper block with attributes, then a dialog box appears. The names of the various tags will display along with two edit boxes to supply the initial value and the increment. The values of the attributes are then updated automatically in the drawing in either the order or insertion or the reverse order of insertion. |