Measure quantities, extract BOMs, run 3D clash checks, diff DWGs and render PNG previews
Read-only engineering takeoff and visual verification (Ring 1C). Inspect bounding boxes, extract CSV/JSON BOMs, detect 3D interferences, compare DWG revisions by Handle, and render model or paper-layout PNG previews with world-coordinate rulers so an AI agent can verify geometry visually.
6 of the 91 verbs · Windows x64 · Offline DXF + accoreconsole.exe + Late-bound COM
cad query-bbox [--handle H[,H]] [--layer L[,L]] [--type T[,T]] [--limit N] [--window X1,Y1,X2,Y2] [--crossing] [--file FILE] [--acad PATH] [--timeout N]` (Ring 1C)- Lists model-space entities with
bbox[minX,minY,minZ,maxX,maxY,maxZ],sizeandcenter, plus the overallbbox cad measure [--handle H[,H]] [--layer L[,L]] [--type T[,T]] [--limit N] [--density KG_M3] [--file FILE] [--acad PATH] [--timeout N]` (Ring 1C)- Totals count, length, closed area and solid volume per layer in drawing units
cad bom [--handle H[,H]] [--layer L[,L]] [--type T[,T]] [--limit N] [--csv] [--file FILE] [--acad PATH] [--timeout N]` (Ring 1C)- Quantity takeoff: block inserts grouped by name, layer and attribute values, solids by layer with volume
cad clash-check [--layer L[,L]] [--layer-b L[,L]] [--min-volume V] [--limit N] [--file FILE] [--acad PATH] [--timeout N]` (Ring 1C)- Intersects 3D solids of model space, blocks and XREFs
cad dwg-diff --with FILE [--tolerance T] [--limit N] [--file FILE] [--acad PATH] [--timeout N]` (Ring 1C)- Compares model space by Handle:
--file(or the live drawing) is the before side,--withthe after side cad preview --out FILE [--file FILE] [--layout NAME] [--view top|front|right|iso-sw|iso-ne] [--window X1,Y1,X2,Y2] [--size N] [--grid] [--hidden] [--mono] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Plots model space (or one paper
--layout) to a PNG to look at the drawing (Ring 1C, headless with--file, else live)
Common questions
How does an AI agent inspect its own drawing visually?
cad preview --file <dwg> --out <png> --grid --apply renders model space (top/front/right/iso) or a paper layout to PNG with world-coordinate rulers and returns worldBounds, widthPx and heightPx.
Can AutoCAD-CLI detect 3D interferences and export BOMs?
Yes. cad clash-check intersects 3D solids across model space, blocks and XREFs, while cad bom and cad measure extract block attributes, layer lengths/areas/volumes and CSV/JSON takeoffs.
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
- 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
- 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