This routine submitted by Terry Priest allows you to create a standard set of layers based on several input factors. This tip includes a LISP file, a DCL file (for the dialog box), and two sample CSV files. One of the CSV files contains layer prefixes and descriptions; the other contains layer properties such as color, linetype, and lineweight. Load the LISP file and then start the command by entering DLay at the command line. A dialog box will appear, allowing you to select one or more layer prefixes and one or more sets of layer properties. After you accept the choices, the layers will be created in the current drawing. The DCL and CSV files must be located in the AutoCAD support file search path. |