Create drawings and run 2D CAD edits (move, copy, rotate, offset, fillet, trim, array) by Handle
Ring-1C in-process plugin editing (`Cad.Plugin`). Every verb runs in a single Transaction (aborted in dry-run mode), addresses entities strictly by permanent DWG `Handle`, and works either headlessly with `--file` or directly against a live AutoCAD session.
17 of the 91 verbs · Windows x64 · Offline DXF + accoreconsole.exe + Late-bound COM
cad new-drawing --out FILE [--template FILE] [--units none|in|ft|mm|cm|m] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Creates a new empty DWG (or DXF by extension) from scratch or from a
.dwt/.dwg--template, with INSUNITS/MEASUREMENT set from--units(default mm), headlessly through Cad.Plugin in accoreconsole.exe cad zoom [--mode extents|window|entity] [--from P] [--to P] [--handle H]` (Ring 1C)- Sets the current view of the live drawing to model extents, a
--from/--towindow, or the extents of--handle H1,H2entities through Cad.Plugin (Ring 1C,--pid Nwhen several acad.exe run) cad erase --handle H [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Erases entities by persistent hex Handle (
--handle H1,H2) inside one transaction cad move --handle H --delta DX,DY[,DZ] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Moves entities by a displacement vector
cad copy --handle H --delta DX,DY[,DZ] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Copies entities by a displacement vector and returns the new handles under
data.created cad rotate --handle H --base P --angle DEG [--layout NAME] [--axis x|y|z] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Rotates entities about
--baseby--angledegrees (counter-clockwise positive) cad scale --handle H --base P --factor S [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Scales entities about
--baseby--factor(> 0) cad mirror --handle H --from P [--to P] [--erase-source] [--layout NAME] [--plane xy|yz|zx] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Mirrors entities across the axis
--from---to, keeping the source unless--erase-source cad offset --handle H --distance D [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Offsets curves (line, arc, circle, polyline) by
--distance(the sign picks the side) cad fillet --handle H1,H2 [--radius R] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Fillets two Line entities: trims or extends both to the tangent points and adds the arc (
--radius 0, the default, makes a sharp corner) cad trim --handle H --edges H1,H2 --at P [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Trims one curve at its intersections with the
--edgescutting entities, removing the piece nearest--at cad array --handle H [--mode rect|polar] [--rows N] [--cols N] [--dx D] [--dy D] [--center P] [--count N] [--angle DEG] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Copies entities in a rectangular grid (
--rowsx--colsat--dx/--dy) or a polar pattern (--countitems about--centerover--angle, default 360), at most 10000 copies cad explode --handle H [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Explodes block references, polylines, and other compound entities into their parts (new handles under
data.created, source erased) cad edit-text --handle H [--text T] [--height H] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Replaces the string and/or height of TEXT, MTEXT, or ATTRIB entities by Handle
cad set-prop --handle H [--color N] [--linetype NAME] [--lineweight N] [--ltscale S] [--layer L] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Sets entity color (ACI 0-256), loaded linetype, lineweight (hundredths of mm, -1 ByLayer), linetype scale, or existing layer by Handle
cad layer-set --name L [--color N] [--linetype NAME] [--lineweight N] [--on BOOL] [--frozen BOOL] [--locked BOOL] [--plot BOOL] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Creates layer L when missing and sets its color, linetype, lineweight, on, frozen, locked, and plot state (
true|false) cad define-block --name NAME [--base P] [--handle H] [--entities-file FILE] [--erase-source] [--layout NAME] [--file FILE] [--out FILE] [--acad PATH] [--timeout N] [--apply] [--confirm]` (Ring 1C)- Creates block definition NAME (base point
--base, default 0,0) from copies of existing entities
Common questions
Do Ring-1C 2D editing verbs work without opening the AutoCAD window?
Yes. Pass --file <drawing> to run any Ring-1C verb headlessly inside accoreconsole.exe on a scratch copy; omit --file to drive the live AutoCAD session over its per-PID Named Pipe.
How are entities addressed across edits like move, copy, rotate, fillet or trim?
Every verb addresses entities by permanent hexadecimal DWG Handle, runs inside a single Transaction (aborted during dry-run), and reports created and erased handles in the JSON receipt.
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
- 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