CAD Plot Automation Guide

Plot automation should save clicks, not create new problems. The safest approach is to make one drawing plot correctly by hand first, then automate that known-good process with PUBLISH, Sheet Set Manager, scripts, AutoLISP or another tool.

Plot automation should save clicks, not create new problems. The safest approach is to make one drawing plot correctly by hand first, then automate that known-good process with PUBLISH, Sheet Set Manager, scripts, AutoLISP or another tool.

Start here — what you are going to do

Your goal: Automate repeated plots without repeating a bad setup hundreds of times.

Where to go: Start with a correct manual Page Setup. Then use Output > Publish, Sheet Set Manager, scripts or AutoLISP depending on the task.

Beginner rule: Change one thing at a time. After each important change, use Preview or create one test PDF/print before continuing.

Step by step — follow this in order

Step 1 — Prove one manual plot first

Where: Open one representative Layout > Plot.

Do this: Create one correct PDF by hand using the Page Setup you want to automate.

Check: Keep this PDF as the reference result.

Step 2 — Choose the simplest automation tool

Where: Decide from the task, not from the technology.

Do this: Use PUBLISH for straightforward multi-sheet output; Sheet Set Manager for managed sets; scripts for fixed command sequences; AutoLISP when you need logic, loops or naming.

Check: You should be able to explain why the selected tool is needed.

Step 3 — Test with only two or three sheets

Where: Create a small test batch.

Do this: Do not begin with 200 drawings. Use a few representative layouts with different names and sizes.

Check: The small batch should reproduce the manual reference result.

Step 4 — Check dependencies before the batch

Where: Before running, verify output folder, device/PDF configuration, paper names and CTB/STB.

Do this: Fix missing dependencies before the loop starts.

Check: The automation should not silently substitute a different device or paper.

Step 5 — Inspect the first output immediately

Where: Run the automation for one sheet or stop after the first output if possible.

Do this: Open the file and verify name, page size, scale and appearance.

Check: Only continue to the full batch after the first file passes.

Step 6 — Keep a log for large runs

Where: Automation routine/script settings.

Do this: Record failures, skipped layouts and output filenames.

Check: You should be able to identify which sheet failed without manually opening every file.

A simple example

Automating an already stable process

If ten drawings already plot correctly using the same named Page Setup, automation can safely focus on repetition: list sheets, check required files and settings, build filenames, plot one sample, then continue the batch. The routine should not invent new plotting settings while it automates.

Mixed paper sizes

A batch containing A1 and A3 layouts needs logic that reads or maps the intended media per sheet. Hard-coding one paper name may produce technically successful files with incorrect page sizes, so checking must happen before the plotting loop advances.

The main ways to automate plotting

A known-good manual plot

Automate only after a manual plot workflow is known to be correct.

Check required files and settings

Scripts should check device names, paper media, CTB/STB paths, Page Setups and output folders before a large run.

Choose the simplest automation method

PUBLISH, Sheet Set Manager, command scripts, AutoLISP and API automation solve different levels of the problem.

Predictable file names

File naming should come from drawing/layout/sheet metadata using a documented sanitization rule.

Error log and safe recovery

Batch tools should report failures, avoid silent changes and preserve a path back to original drawing settings.

How to automate plotting without hiding dependencies

PUBLISH first

If the only requirement is to output many configured layouts, native PUBLISH or Sheet Set Manager may be safer than custom code. Custom automation becomes valuable when naming, selection, checking or configuration logic exceeds the native workflow.

SCR scripts

A .scr file is a sequence of command-line inputs. It is effective for predictable command sequences but is brittle when prompts vary or logic/branching is required.

AutoLISP

AutoLISP can inspect drawings, loop through layouts, build filenames and call commands or APIs. The safest routines make assumptions explicit and return useful errors when a dependency is missing.

CAD manager standard

Production automation should be versioned like software: identify a release number, supported CAD versions, required files and settings, test drawings and change log. A random LISP copied from a forum is not an office standard.

Common problems and what to check first

What you seeWhat may be causing itCheck this first
Works on one PC onlyHard-coded device/path names.Use configuration values and check them.
Wrong paper for some layoutsRoutine assumes one media size.Read/assign per-layout Page Setup or metadata.
Files overwrittenFilename collisions after sanitization.Detect duplicates before plotting.
Routine stops mid-batchUnhandled command/API error.Add error trapping and per-sheet logging.
Drawings modified unexpectedlyAutomation changes layout settings and saves files.Separate temporary plot settings from persistent edits; back up first.

For large batches

Large batches need checks before the loop starts: output folder, file naming, device, paper and plot style. They also need a way to stop, report errors and avoid overwriting good files. Automation should make failures visible, not hide them.

Official references

Frequently asked questions

Is AutoLISP the only way to automate AutoCAD plotting?

No. PUBLISH, Sheet Set Manager, scripts and command-line workflows can automate many tasks without custom LISP. AutoLISP becomes useful when the workflow needs logic or repeated data-driven changes.

Can AutoLISP create one PDF per layout?

Yes, a routine can iterate through layouts and plot each one to a separate file using controlled Page Setup and naming rules.

Should I automate Page Setup changes across every drawing?

Only after a standard Page Setup has been tested. Batch changes are powerful, so it is safer to work on copies or a controlled drawing set first.

What should a safe batch plotting tool check before it starts?

At minimum: output folder, device or PDF configuration, paper/media name, Page Setup, plot style required files and settings and the filename that will be created for each sheet.

Browse all guides in this section (1)