Convert DWG/DXF, purge, audit, plot PDF and run batches headlessly via accoreconsole.exe
Ring-1B headless AutoCAD Core Console automation. Convert between DWG and DXF versions, purge unused symbols and Regapps, audit and repair drawings, plot vector PDFs with DWG To PDF.pc3, and execute multi-step batch scripts in isolated scratch copies with timeout watchdogs.
6 of the 91 verbs · Windows x64 · Offline DXF + accoreconsole.exe + Late-bound COM
cad convert --file FILE --out FILE [--format dwg|dxf] [--version 2018|2013|2010|2007|2004|2000|R12] [--acad PATH] [--timeout N] [--apply] [--confirm]- Converts between DWG and DXF (or AutoCAD drawing versions) headlessly via accoreconsole.exe (Ring 1B) using locale-safe
_SAVEASand a scratch working copy cad purge --file FILE [--out FILE] [--regapps] [--acad PATH] [--timeout N] [--apply] [--confirm]- Runs headless
_-PURGE _All(and_-PURGE _Regappswith--regapps) via accoreconsole.exe (Ring 1B), saving to--out FILEor in-place cad audit --file FILE [--out FILE] [--fix] [--verbose] [--acad PATH] [--timeout N] [--apply] [--confirm]- Runs headless
_AUDITon a DWG/DXF via accoreconsole.exe (Ring 1B) against an isolated scratch copy cad plot-pdf --file FILE --out FILE [--layout NAME] [--paper SIZE] [--acad PATH] [--timeout N] [--apply] [--confirm]- Plots a DWG/DXF layout (default
Model) to vector PDF via headless accoreconsole.exe_-PLOTusingDWG To PDF.pc3(Ring 1B) cad console-run --script FILE [--file INPUT] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]- Runs a custom
.scrscript headlessly in accoreconsole.exe (Ring 1B) wrapped with_FILEDIA 0,_CMDDIA 0, AutoLISP JSON sentinel verification, and a hard--timeoutwatchdog (default 120 s) cad batch [--script FILE] [--inline TEXT] [--check] [--fail-fast] [--digest] [--apply] [--confirm]- Runs multiple CLI verbs in sequence from a JSON
--script FILEor semicolon-separated--inlinestring (Ring 1B)
Common questions
How does AutoCAD-CLI convert DWG/DXF or plot PDFs without opening the AutoCAD GUI?
Ring-1B verbs (cad convert, cad purge, cad audit, cad plot-pdf, cad console-run) launch AutoCAD's own headless accoreconsole.exe against a scratch copy using locale-independent underscore commands (_SAVEAS, _-PURGE, _AUDIT, _-PLOT), FILEDIA 0, CMDDIA 0, an AutoLISP JSON sentinel and a hard timeout watchdog.
Can I chain offline DXF, headless Core Console and live steps together?
Yes. cad batch runs a JSON script or --inline command sequence with @sandbox and $ref:ID.PATH token substitution, --check pre-validation and --fail-fast execution.
Run these verbs on your own DWG and DXF drawings
Every verb above returns structured JSON and takes plain command-line flags. AutoCAD-CLI is local and on-premise: zero UAC elevation, zero Autodesk DLLs
redistributed, and every write is a dry run until you pass --apply. Fourteen-day free trial
with corporate e-mail, no card.
Other verb families
- Inspect, audit, edit and generate ASCII DXF drawings completely offline10 verbs
- Attach to live AutoCAD sessions via ROT and manage open drawings safely7 verbs
- Query live AutoCAD layers, blocks, entities, attributes, XREFs, layouts and sysvars8 verbs
- Draw 2D geometry, insert blocks and update attributes or layers by persistent Handle4 verbs
- Create drawings and run 2D CAD edits (move, copy, rotate, offset, fillet, trim, array) by Handle17 verbs
- Add dimensions, hatch, MTEXT, leaders, tables, viewports, XREFs and multi-page vector PDFs9 verbs
- Create and combine 3D solids (extrude, revolve, sweep, loft, boolean, slice, section)8 verbs
- Measure quantities, extract BOMs, run 3D clash checks, diff DWGs and render PNG previews6 verbs
- Compile declarative 2D/3D scenes, buildings, rule checks and ABNT/electrical drawing specs9 verbs
- Check AutoCAD installations, ROT sessions, plugin status, drawing paths and sealed knowledge base7 verbs