eplisp

Plot All Layouts to PDF (PLT)

eplisp, the free multilingual LISP library

Plot All Layouts to PDF (PLT)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsPLT
CategoryPlotting
AuthorMichael Flynn
Sourcemf4633/C3D-AutoCAD
LicenseMIT
Version1.1
Updated2026-07-07
RequirementsAutoCAD (full version; uses ActiveX and -PUBLISH). PUBLISH may behave differently in BricsCAD.
Prompt languageEnglish
Filesplot.lsp (3 KB)
Added2026-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

  1. Load plot.lsp with APPLOAD.
  2. Assign a page setup with a PDF plotter (for example DWG To PDF.pc3) to each layout.
  3. Save the drawing.
  4. 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.

References

  1. Source repository: mf4633/C3D-AutoCAD – https://github.com/mf4633/C3D-AutoCAD
  2. Author: Michael Flynn – https://github.com/mf4633
  3. 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