Commands
The 177 commands you can type in the command window (or run by id with CadExecute / CadCmdStart). Names follow AutoCAD where an equivalent exists; type ? in the command window for this same list.
Draw — 38
| Command | Aliases | Description |
|---|---|---|
arc | a | Draw an arc. |
arc3p | — | Draw an arc through three points. |
arccontinue | — | Continue an arc from the last point. |
arccsa | — | Arc by centre, start, included angle. |
arccse | — | Arc by centre, start, end. |
arccsl | — | Arc by centre, start, chord length. |
arcsca | — | Arc by start, centre, included angle. |
arcsce | — | Arc by start, centre, end. |
arcscl | — | Arc by start, centre, chord length. |
arcsea | — | Arc by start, end, included angle. |
arcsed | — | Arc by start, end, direction. |
arcser | — | Arc by start, end, radius. |
centermark | — | Draw a centre mark on a circle or arc. |
circle | c, ci | Draw a circle (centre + radius). |
circle2p | — | Draw a circle through two points. |
circle3p | — | Draw a circle through three points. |
circle3tan | — | Draw a circle tangent to three objects. |
circlecd | — | Draw a circle by centre and diameter. |
circlecr | — | Draw a circle by centre and radius. |
ellipse | el | Draw an ellipse or elliptical arc. |
hatch | bhatch, h, bh | Fill an area with a solid or pattern hatch. |
leader | qleader, le, ld | Draw a leader with an arrowhead and text. |
line | l | Draw a straight line (or connected segments). |
lineangle | lang | Draw a line at a given angle. |
linebisector | lbis | Draw the bisector line of an angle. |
linehv | lhv | Draw a horizontal or vertical line. |
lineparallel | lpar | Draw a line parallel to another. |
mline | ml | Draw a multiline (parallel elements). |
mtext | mt | Place multiline (paragraph) text. |
pline | polyline, pl | Draw a polyline (line/arc segments with bulges). |
point | po | Place a point entity. |
polygon | pol | Draw a regular polygon. |
ray | — | Draw a semi-infinite construction line. |
rectangle | rectang, rec | Draw a rectangle. |
spline | spl | Draw a spline through fit points. |
text | dtext, dt, t | Place single-line text. |
wtext | wt | Place window-formatted text. |
xline | xl | Draw an infinite construction line. |
Modify — 30
| Command | Aliases | Description |
|---|---|---|
align | al | Align entities by source/destination points. |
array | ar | Copy entities in a pattern. |
break | br | Break an entity between two points. |
breakdivide | bd | Break an entity at division points. |
chamfer | cha | Bevel a corner between two entities. |
copy | co, cp | Copy selected entities. |
deletefree | — | Delete free (unconnected) entities. |
divide | div | Place points dividing an entity evenly. |
erase | e, del | Delete selected entities. |
explode | x | Explode a block/polyline into components. |
explodetext | xt | Explode text into outline geometry. |
extend | ex | Extend entities to a boundary edge. |
fillet | f | Round a corner between two entities. |
join | j | Join collinear/contiguous entities. |
lengthen | len | Change the length of an entity. |
linegap | — | Insert a gap in a line. |
linejoin | lj | Join two lines at their intersection. |
matchprop | ma | Copy properties from one entity to others. |
measure | me | Place points at measured intervals. |
mirror | mi | Mirror selected entities across an axis. |
move | m | Move selected entities. |
moverotate | — | Move and rotate in one operation. |
offset | o | Offset a curve by a distance. |
plineaddvertex | pladdnode | Add a vertex to a polyline. |
plinedelvertex | pldelnode | Delete a vertex from a polyline. |
reverse | revertdir | Reverse a curve's direction. |
rotate | ro | Rotate selected entities about a base point. |
scale | sc | Scale selected entities about a base point. |
stretch | s | Stretch entities crossing a window. |
trim | tr | Trim entities to a cutting edge. |
Order — 4
| Command | Aliases | Description |
|---|---|---|
draworderbottom | toback, back | Send entities to the back. |
draworderlower | lower | Send entities one step backward. |
draworderraise | raise | Bring entities one step forward. |
drawordertop | tofront, front | Bring entities to the front. |
Dimension — 8
| Command | Aliases | Description |
|---|---|---|
dimaligned | dal | Aligned dimension. |
dimangular | dan | Angular dimension. |
dimbaseline | dba | Baseline dimension from a common origin. |
dimcontinue | dco | Continue a dimension from the last. |
dimdiameter | ddi | Diametric dimension. |
dimlinear | dli | Linear (horizontal/vertical) dimension. |
dimordinate | dor | Ordinate dimension. |
dimradius | dra, dimrad | Radial dimension. |
Block — 11
| Command | Aliases | Description |
|---|---|---|
attdef | att | Define a block attribute. |
attedit | ate | Edit block attribute values. |
battman | attman | Manage a block's attribute definitions. |
block | bmake, b, acadblock | Create a block definition from entities. |
blockclose | bclose | Close the block editor. |
blockedit | bedit, be | Edit a block definition in place. |
image | im | Open the raster-image manager. |
imageattach | iat | Attach a raster image. |
insert | i, ddinsert | Insert a block reference. |
xattach | xa | Attach an external-reference drawing. |
xref | xr | Open the external-reference manager. |
Select — 10
| Command | Aliases | Description |
|---|---|---|
selectall | selall | Select every entity. |
selectbydist | — | Select entities within a distance. |
selectbyid | — | Select an entity by its handle. |
selectbylayer | — | Select every entity on a layer. |
selectbytext | — | Select text entities by content. |
selectbyuserdata | — | Select entities by their user-data tag. |
selectfence | — | Select entities crossing a polyline fence. |
selectpoint | — | Select the entity under a point. |
selectpolygon | — | Select entities inside a polygon fence. |
selectwindow | — | Select entities inside a rectangle. |
Snap — 11
| Command | Aliases | Description |
|---|---|---|
osnap | ddosnap, dsettings, ds, se | Open the object-snap settings dialog. |
snapcenter | center, cen | One-shot centre snap. |
snapend | endpoint, end | One-shot endpoint snap. |
snapgrip | grip | One-shot grip snap. |
snapintersection | intersection, int | One-shot intersection snap. |
snapmid | midpoint, mid | One-shot midpoint snap. |
snapnearest | nearest, nea | One-shot nearest snap. |
snapnode | node, nod | One-shot node (point) snap. |
snapnone | none, non | Turn off the running snap for one pick. |
snapperpendicular | perpendicular, per | One-shot perpendicular snap. |
snaptangent | tangent, tan | One-shot tangent snap. |
Drafting — 11
| Command | Aliases | Description |
|---|---|---|
dsettingsall | draftaids | Open the drafting-settings dialog. |
grid | — | Toggle the reference grid. |
griddialog | ddgrid | Open the grid settings dialog. |
lwdisplay | — | Toggle lineweight display. |
ortho | — | Toggle orthogonal mode. |
osnaptoggle | — | Toggle running object snap. |
polar | ddpolar | Open the polar-tracking dialog. |
polartoggle | — | Toggle polar tracking. |
rasterdisplay | — | Toggle raster-image display. |
setrelz | — | Set the relative Z (elevation). |
snap | snapmode | Toggle snap-to-grid. |
Format — 10
| Command | Aliases | Description |
|---|---|---|
blockmanager | blocks, bmgr | Open the block-definition manager. |
color | colour, col, ddcolor | Set the current colour. |
dimstyle | d, dst, ddim, dimset | Open the dimension-style editor. |
layer | la, ddlmodes | Open the layer manager. |
layerorder | — | Reorder the layer list. |
linetype | lt, ddltype, ltype | Open the linetype manager. |
lineweight | lw | Set the current lineweight. |
mlstyle | mlinestyle, mls | Open the multiline-style editor. |
pointstyle | ddptype | Set the point display style. |
textstyle | style, st, ddstyle, ts | Open the text-style editor. |
Layout — 6
| Command | Aliases | Description |
|---|---|---|
pagefirst | — | Go to the first layout tab. |
pagelast | — | Go to the last layout tab. |
pagenext | — | Go to the next layout tab. |
pageprevious | — | Go to the previous layout tab. |
pageselect | — | Select a layout by name. |
pagesetup | layoutmgr, pg | Open page setup / layout manager. |
Zoom — 16
| Command | Aliases | Description |
|---|---|---|
currentlayeronly | — | Toggle showing only the current layer. |
pan | p, panrt | Real-time pan. |
pandown | — | Pan down. |
panleft | — | Pan left. |
panpoint | — | Pan by two points. |
panright | — | Pan right. |
panup | — | Pan up. |
plan | viewtop | Set the plan (top) view. |
vpoint | viewvpoint | Set a viewpoint. |
zoomextents | ze, zoome, zoomext, extents | Zoom to the drawing extents. |
zoomin | zi | Zoom in. |
zoomobjects | zs, zoomsel | Zoom to the selected entities. |
zoomout | zoo, zoomo | Zoom out. |
zoomprevious | zp, zoomp | Return to the previous view. |
zoomrealtime | zr, zoomrt | Real-time zoom. |
zoomwindow | zw, zoomw | Zoom to a window. |
View — 1
| Command | Aliases | Description |
|---|---|---|
regen | re | Regenerate the drawing. |
Inquiry — 7
| Command | Aliases | Description |
|---|---|---|
area | aa | Measure area and perimeter. |
areapoint | — | Measure the area enclosing a point. |
calibrate | — | Calibrate the drawing scale. |
distance | di, dist | Measure distance and angle between two points. |
distpline | — | Measure length along a polyline. |
drawinginfo | dwgprops, status | Show drawing statistics. |
properties | props, ddmodify, entprop | Open the properties window. |
Print — 4
| Command | Aliases | Description |
|---|---|---|
plot | Print / plot with a dialog. | |
plotquick | — | Print with the current settings, no dialog. |
preview | ppreview | Open print preview. |
rasterize | — | Export the view to a raster image. |
Edit — 10
| Command | Aliases | Description |
|---|---|---|
cancel | reset | Cancel the running command. |
copyclip | — | Copy selection to the clipboard. |
cutclip | cut | Cut selection to the clipboard. |
help | ? | List the available commands. |
options | op, preferences | Open the options dialog. |
pasteclip | paste | Paste from the clipboard. |
redo | — | Redo the last undone operation. |
repeat | — | Repeat the last command. |
setvar | — | Get or set a system variable. |
undo | u | Undo the last operation. |