Layers to Drawings
eplisp, the free multilingual LISP library
| The author does not allow redistribution; download the file from the author's own site. | |
… Rate this tool: | |
| Commands | LAYERS2DWGS |
|---|---|
| Category | Data Export (Excel, CSV) |
| Author | Lee Mac |
| Source | Lee Mac Programming |
| License | Author's terms of use |
| Version | 1.0 |
| Requirements | AutoCAD (full version, Windows). The author lists it as not compatible with AutoCAD LT or AutoCAD for Mac. |
| Prompt language | English |
| Added | 2026-10-26 |
| Go to the author's page ↗ | |
Uses WBLOCK to write the objects of each layer in the current drawing to its own DWG file, named after the drawing and layer, in a folder you choose.
Layers to Drawings is a short AutoLISP program by Lee Mac for splitting a drawing into separate files by layer. It suits users who need to send each discipline a file holding only its own layers.
Overview
The LAYERS2DWGS command asks for a target folder, then writes the objects of every active layer to a separate drawing named <drawing name>_<layer name>.dwg. The command line reports which layer is being exported and which layers have nothing to export.
How to use it
- Download the LSP file from the author's page and load it in AutoCAD with APPLOAD.
- Type LAYERS2DWGS at the command line.
- Choose the folder for the new drawings and wait for the export to finish.
Notes and limitations
- One new DWG per layer is written to the chosen folder; check the folder first if files with the same names may exist.
- The source drawing is not changed.
Source and license
This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.
Free for personal or in-house use; redistribution needs the author's written consent, so we do not host the file and link to the author's page instead.
References
- Lee Mac Programming (author's page) – https://www.lee-mac.com/layerstodrawings.html
- Author: Lee Mac – https://www.lee-mac.com/
- License: Author's terms of use – https://www.lee-mac.com/terms.html
Found a mistake, or are you the author of this tool? Request a correction or removal