Layers to Drawings

Function Syntax Layers2DWGs
Current Version 1.0
Download Layers2Drawings.lsp
View HTML Version Layers2Drawings.html

Program Description

This program enables a user to export (WBlock) objects on all active layers in the working drawing to separate drawings, created in a selected directory.

Upon invoking the program using the syntax Layers2DWGs, the program will prompt the user to select a directory in which the resultant drawings will reside. Following a valid directory selection, the program will proceed to WBlock all objects on every active layer in the working drawing to separate drawings in the selected directory.

The resultant drawing filenames take the form <Filename>_<Layer>.dwg in which <Filename> is the filename of the working drawing and <Layer> is the name of the layer exported.

Notifications will be displayed at the AutoCAD command line informing the user of which layers are currently being exported, and those layers which do not contain objects to export.

Instructions for Running

Please refer to How to Run an AutoLISP Program.

textsize

increase · reset · decrease

Designed & Created by Lee Mac © 2010