Plot All Layouts to PDF (PLT)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | PLT |
|---|---|
| Category | Plotting |
| Author | Michael Flynn |
| Source | mf4633/C3D-AutoCAD |
| License | MIT |
| Version | 1.1 |
| Updated | 2026-07-07 |
| Requirements | AutoCAD (full version; uses ActiveX and -PUBLISH). PUBLISH may behave differently in BricsCAD. |
| Prompt language | English |
| Files | plot.lsp (3 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
PLT publishes every paper-space layout in the drawing, sorted by name, to one multi-page PDF saved next to the DWG under the same name.
PLT plots a drawing with many layouts into one PDF with a single command. It suits users who want an up-to-date PDF with the same name at every submission, without going through the PUBLISH dialog.
Overview
The command collects all layout names except Model and sorts them alphabetically. It writes a DSD (drawing set) file in the temp folder and runs -PUBLISH with it. Each layout is plotted with its own page setup, and all pages are collated into one PDF named after the drawing in the drawing's folder. The temporary DSD file is deleted afterwards.
How to use it
- Load plot.lsp with APPLOAD.
- Assign a page setup with a PDF plotter (for example DWG To PDF.pc3) to each layout.
- Save the drawing.
- Type PLT; the PDF is written to the drawing's folder.
Notes and limitations
- Writes <drawing name>.pdf in the DWG's folder; an existing PDF with that name is overwritten.
- Writes a .dsd file in the temp folder and deletes it when done.
- Sets PUBLISHCOLLATE to 1 and BACKGROUNDPLOT to 0 and does not restore the previous values.
- Does not run on a drawing that has never been saved; save it first.
- The repository is new (2026); try it on a copy of the drawing first.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
- plot.lsp (3 KB)
- License text
References
- Source repository: mf4633/C3D-AutoCAD – https://github.com/mf4633/C3D-AutoCAD
- Author: Michael Flynn – https://github.com/mf4633
- License: MIT – https://github.com/mf4633/C3D-AutoCAD/blob/eeeda7b7b3ffe98917d4b2b3d329d6b84a966035/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal