This month's request came from Mr. Sven de Troch of Antwerp, Belgium. Sven asked for an automatic numbering routine with decimals to help with numbering brick positions in walls.
The AutoLISP Solution is DECIMAL-INC.LSP and DECIMAL-INC.DCL, which allows the user to enter a start number, an increment value, the precision (number of decimal places) and the text height from a dialog box. A series of numbers is then placed in the user-selected positions. The numbers may vary incrementally from zero to six decimal places. The default is two decimal places with an increment of 0.25 and a text height of 0.2 units
Get the Code Download the DECIMAL-INC.LSP and DECIMAL-INC.DCL files from our Get the Code http://new.cadalyst.com/code/ area and save them in AutoCAD's Support directory. Use the Appload facility by selecting Tools / Load Application, then select the DECIMAL-INC.LSP program from where you stored it.



 |