Tip #1954 (Make Layer Current) from David Trembley is a dialog box utility that lets you select a layer to make it current. If the layer doesn't exist, it's created based on the internal standards of the routine. The AutoLISP code handles the layer colors and linetypes so you don't have to wade through AutoCAD's Layer dialog box. The DCL file must be in a folder that AutoCAD searches for the function to operate correctly. Load the code and type Mlayline to activate the command. This is a great utility for setting up a single layer and then using it immediately. It's useful even if you need to adapt it to match your own internal standards.
|