Michael submits this routine for anyone wishing to export a list of layers from the current drawing to a text file. He uses this to quickly export layers for later analysis and makes note that you could even have a script run this routine through hundreds of DWGs in a short time. Before you run the LISP file, you’ll need to make an edit to the code to modify the location and name of the output file. After you’ve done this, load the file, and run the command LayList. The file name specified in the LISP file will be populated with the list of layers from the current drawing. An example of the output file is also supplied. |