91 verbs for AutoCAD and DXF/DWG, from the command line
AutoCAD-CLI is a local command line between an AI agent and your 2D/electrical CAD workflow.
Ring 0 inspects, audits, edits and generates ASCII DXF files completely offline; Ring 1B runs headless
accoreconsole.exe conversions, purge, audit and PDF plots; Ring 1A drives a live AutoCAD session
through late-bound COM over the Running Object Table with permanent DWG Handle addressing.
91 verbs over 11 families · Windows 10/11 x64 · .NET Framework 4.8 · Zero UAC
Common questions
Can an AI agent drive AutoCAD and DXF/DWG files from the command line?
Yes. AutoCAD-CLI exposes 91 JSON command-line verbs across four rings: Ring 0 pure offline DXF inspection/editing/generation and rule checks, Ring 1B headless accoreconsole.exe batch processing, Ring 1A live late-bound COM over the Running Object Table, and Ring 1C in-process Cad.Plugin for 2D/3D editing, detailing, takeoff, previews and declarative scenes. Every write verb is a dry run until --apply.
Does AutoCAD-CLI ship or redistribute Autodesk DLLs?
No. AutoCAD-CLI is a single Windows x64 .NET Framework 4.8 binary that drives the user's own licensed AutoCAD installation through late-bound COM and accoreconsole.exe, plus a pure managed DXF engine. Zero Autodesk binaries or ObjectARX/Interop DLLs are included.
Do my DWG or DXF drawings leave my computer?
No. AutoCAD-CLI runs locally on your engineering workstation. Paid perpetual licenses never make any network call at any point in their life.
Verb families
- Inspect, audit, edit and generate ASCII DXF drawings completely offline10 verbs
- Convert DWG/DXF, purge, audit, plot PDF and run batches headlessly via accoreconsole.exe6 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
Run these verbs on your own DWG and DXF drawings
Audit a DXF offline in milliseconds, convert or plot headlessly, or edit a live sandbox copy safely. 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.
Is a CLI worth it over raw AutoCAD COM / ObjectARX / AutoLISP?
Building bespoke AutoCAD automation means maintaining version-locked interop/ObjectARX DLLs, locale-sensitive
.scr scripts, fragile selection indices and manual undo guards.
Ten tasks compared three ways: clicking the GUI, raw COM/LISP code, and
one cad verb.
What this reference is
Each family page lists every verb's signature and a one-line summary. The complete contract and sealed
knowledge base ship with the product and are read locally with cad help <verb> and
cad kb. Visit the product page to start a 14-day free trial.