This routine by Robert Zipprich allows you to generate a nicely formatted text file of the layers in the current AutoCAD drawing, including the layer name, linetype, color, and current status. It is very simple in operation: Simply load the LISP file, run the command XTR_LYRS, and the output text file is generated. Subsequent executions of the routine append the results to the file, if it exists. The code itself is easy to follow, so you might even want to add a feature of your own such as automatically launching the output file in Notepad, or adding more information to the header or footer. |