Login | Sign Up
   





 
Tip and Trick Detail
Quickly list all the layers in the drawing
*Applies to: AutoCAD R12, 13, 14, 2000, 2000i, 2002, 2004 and 2005*

Have you ever needed to get a listing of all layers with in drawing or template to document what each layer did or just needed the list for some other reason. In the layer command there is a way to list all the layers to the screen or Text Window so you can copy them out into a text editor or word processor.  To do this see the examples below.  Also note that the necessary key or inputs are highlighted in bold.

Command Line (R2000 and up):
Command: -la
-LAYER
Current layer: "0"
Enter an option 
[?/Make/Set/New/ON/OFF/Color/Ltype/LWeight/Plot/Freeze/Thaw/LOck/Unlock/stAte]: ?

Enter layer name(s) to list <*>: {ENTER}

Layer name                  State               Color                Linetype          Lineweight
------------------                 -----------            -------------          ------------           ------------
"0"                               on -P              7 (white)          "Continuous"    Default

Command Line (Prior to 2000):
Command: -la
-LAYER ?/Make/Set/New/ON/OFF/Color/Ltype/Freeze/Thaw/LOck/Unlock: ?

Layer name(s) to list <*>: {ENTER}

Layer name                  State               Color                Linetype          
------------------                 -----------            -------------          ------------ 
0                                 on                    7 (white)          "Continuous"


See Also:
Layers Export Routine located on the AutoLISP Downloads page.