Skip to content
BranchCAD
Docs

BranchCAD command cheat sheet

Every command, its short aliases and a worked example. Type any of them in the command line at the bottom of the editor.

Download PDF396 KB

LINE
Command
L
Alias
⏎ · ␣
Enter · separate prompts

Coordinates — type at any point prompt

x,yAbsolute point 100,250
@dx,dyRelative to the last point @50,0
d<angleAbsolute polar (distance < degrees CCW) 25<30
@d<angleRelative polar @100<45
Ge,nGrid (map) coordinate — needs a GEOREF G1752340.885,5428110.223
numberWith the cursor showing a direction, typing a length places the next point that far along it 12.5 ⏎

Prompt options (while a command runs)

UUndo the last picked point / segment
CClose — LINE, PLINE, SPLINE, AREA, REVCLOUD, FENCE
DCIRCLE: switch to diameter entry
I / CPOLYGON: inscribed / circumscribed
S / RINSERT: Scale / Rotate the block being placed
DE P T DYLENGTHEN: Delta / Percent / Total / Dynamic
C O J W F S D RPEDIT: Close / Open / Join / Width / Fit / Spline / Decurve / Reverse
Y / NALIGN: scale objects to the alignment points?
⏎ / right-clickFinish the command; on an empty line, repeat the last one
EscCancel the command

Draw

LINE LLine segments, chained L ⏎ 0,0 ⏎ @10,0 ⏎ @10<90 ⏎ C
PLINE PL, POLYLINEPolyline (one object) PL ⏎ 0,0 ⏎ @20,0 ⏎ @0,10 ⏎ C
RECTANG REC, RECTANGLERectangle from two corners REC ⏎ 0,0 ⏎ @30,20
CIRCLE CCentre + radius; D for diameter C ⏎ 50,50 ⏎ D ⏎ 20
ARC AThree-point arc A ⏎ 0,0 ⏎ 5,3 ⏎ 10,0
ELLIPSE ELEllipse by centre and axes
ELLIPSEARC EA, ELLIPTICALARCElliptical arc
SPLINE SPL, SPLINECVSpline by control vertices
SPLINEFIT SPFSpline through fit points
POLYGON POLRegular polygon; Inscribed / Circumscribed
POINT POPoint marker PO ⏎ 12,8
DDPTYPE PTYPEPoint style & size
RAYHalf-infinite construction line
XLINE XLInfinite construction line
REVCLOUD REVC, RCRevision cloud; C to close

Modify

MOVE MBase point, then destination M ⏎ (pick) ⏎ 0,0 ⏎ @5,0
COPY CO, CPCopy — repeats until Esc CO ⏎ 0,0 ⏎ @12,0 ⏎ @24,0
ROTATE ROBase point + angle RO ⏎ 10,10 ⏎ 45
SCALE SCBase point + factor SC ⏎ 0,0 ⏎ 2
MIRROR MIMirror about a two-point line
OFFSET ODistance, pick object, pick side O ⏎ 1.5 ⏎ (pick) (side)
TRIM TRClick the parts to cut away
EXTEND EXClick near the end to extend
FILLET FRound a corner between two objects
CHAMFER CHABevel a corner
BREAK BRSplit an object at points
JOIN JJoin touching objects into one
STRETCHStretch vertices inside a window
LENGTHEN LENChange length (DE/P/T/DY)
ALIGN ALAlign by two source / target pairs
PEDIT PEEdit polyline (see prompt options)
ARRAY ARRectangular / polar array of selection
EXPLODE XBreak blocks / polylines into parts
ERASE E, DEL, DELETEDelete the selection (or press Del)
DIVIDE DIVMark N equal parts with points DIV ⏎ (pick) ⏎ 5
MEASURE MEMark every N units ME ⏎ (pick) ⏎ 2.4
MATCHPROP MACopy properties source → targets

Select & group

SELECT SBack to the select tool
QSELECT QSESelect by type, layer, linetype, colour, length
GROUP GGroup the selection
UNGROUP UNGDissolve the selection's groups
GROUPSOpen the Groups manager

Edit history

UNDO UUndo Ctrl+Z
REDO MREDORedo Ctrl+Y

Keyboard

Ctrl+Z / Ctrl+YUndo / redo (Ctrl+Shift+Z also redoes)
Ctrl+ASelect all
Ctrl+D · Ctrl+Shift+ADeselect all
Ctrl+C / Ctrl+VCopy / paste the selection
Del · BackspaceErase the selection
+ / −Zoom in / out (canvas focused)
Arrow keysNudge-pan the view
F7 · F9Grid display · grid snap
F8 · F10 · F11Ortho · polar · object-snap tracking
Mouse wheelZoom about the cursor
EscCancel / clear selection

Text & tables

TEXT T, DTEXTSingle-line text; type in place
MTEXT MTWrapped paragraph in a two-corner box
TABLE TBPlace a table; double-click a cell to edit
STYLE ST, TEXTSTYLEText styles: font, height, width, oblique
LEADER LE, LEAD, MLD, MLEADERArrow + note LE ⏎ (tip) (bend) (end) ⏎ TIMBER DECK
UPDATEFIELD FIELDUPDATERefresh field-bound block attributes

Dimensions

DIMLINEAR DLIHorizontal / vertical DLI ⏎ (p1) (p2) (place)
DIMALIGNED DALParallel to the measured points
DIMANGULAR DAN, DIMANGAngle between two lines
DIMRADIUS DRA, DIMRADRadius of a circle / arc
DIMDIAMETER DDI, DIMDIADiameter of a circle / arc
DIMORDINATE DOR, DIMORD, ORDINATEX/Y datum coordinate of a feature
DIMARC DARArc length
DIMBASELINE DBAChain from a common baseline
DIMCONTINUE DCO, DIMCONTContinue end-to-end
DIMSTYLE D, DSTDimension styles: text, arrows, precision

Hatch & regions

HATCH H, BH, BHATCHClick inside a closed area to fill
HATCHEDIT HEEdit pattern, angle, scale of a hatch
REGION REG, BO, BOUNDARYTurn closed shapes into regions
UNION UNIMerge selected regions
SUBTRACT SUCut regions from the first one
INTERSECT INTKeep only the overlap

Blocks, images & references

BLOCK BDefine a block from the selection
INSERT IBlocks panel → Insert; S/R while placing
IMAGE IAT, IMAGEATTACHAttach a raster image
XREF XRExternal references manager
XATTACH XAAttach a .dxf / .dwg as an underlay
XBINDBind the selected XREF into the drawing
XDETACHDetach the selected XREF

Layers & properties

LAYER LALayers panel: on/off, freeze, lock, plot, colour
LAYISOIsolate the selection's layers
LAYUNISORestore layers after LAYISO
LAYDELDelete selection's layers and their contents
LAYMRGMerge selection's layers into the current one
LINETYPE LTLinetypes (dashed, center, hidden…)
LTSCALE LTSGlobal linetype scale

View & navigation

ZOOM ZZoom to the whole drawing
Z E / Z A ZEZoom Extents / All
Z W ZWZoom Window — drag a box
Z P ZPZoom Previous
Z O / Z S ZOZoom to the selected object(s)
Z I / Z OUTZoom in / out one step
Z RRealtime zoom
PAN PHand-drag pan
VIEW V, VIEWSSave / restore named views
NAVNavigation settings (wheel, smooth zoom)

Drafting aids

GRID GRIDUNITToggle grid display GRID 5 · GRID A · GRID ON · GRID OFF
GRID LOCKDoes grid spacing also set cursor snap? GRID LOCK OFF
SNAP SN, SNAPUNITToggle / set grid snap step SNAP 0.5 · SNAP OFF
ORTHOHorizontal / vertical only F8
POLARPolar tracking angles F10
OTRACK OSTObject-snap tracking F11

Object snaps (OSNAP on)

EndpointEnd of a line, arc or polyline segment
MidpointMiddle of a segment
Center CENCentre of a circle, arc or ellipse
Quadrant0° / 90° / 180° / 270° points of a circle
Intersection INTWhere two objects cross
Perpen­dicular PERPFoot of the perpendicular from the last point
Tangent TANTangent point on a curve
Nearest NEAClosest point on an object
ExtensionAlong the extension of a line past its end
ParallelParallel to a segment you hover

The marker and a tooltip (e.g. Endpoint · 8.38 < −162.6°) show which snap will be used before you click. Toggle individual modes on the status bar.

Inquiry

DIST DI, DISTANCEDistance & angle between two points
AREA AAArea & perimeter of picked points; C to close

Layouts & output

LAYOUT LOCreate a paper-space sheet
MVIEW MVAdd a viewport on the sheet
PAGESETUP PAGESETPaper size, margins, scale of the active sheet
PLOT PRINTPlot to PDF (colour / mono / plot styles)

Files

IMPORT OPEN, IMPORTDWGOpen a .dxf or .dwg file
EXPORT DXFOUT, SAVEASExport the drawing as DXF
DXFOUT GRID EXPORT GRIDDXF in real map (grid) coordinates
CSVIN POINTSINImport a CSV point schedule
GEOJSONINImport GeoJSON features

GIS & mapping

GEOREF GEO, GEOGRAPHICLOCATIONCoordinate system + where local 0,0 sits
GISGIS panel: basemap imagery, address, parcels
ADDRESSGIS panel with the address search focused
PARCELClick a point → insert that land parcel
BUILDING BLDGClick a house → insert its footprint (repeats)
MAP MAPMODESwitch to the interactive map environment
CAD CADMODEBack to the CAD canvas
AOI MAPAREALimit the map to a drawn area of interest

Fences

FENCE FNDraw a fence run like a polyline; C closes FN ⏎ 0,0 ⏎ @30,0 ⏎ @0,40 ⏎ ⏎
GATE FENCEGATEClick on a fence to add a gate
FENCETYPE FTFences panel: the fence-type library
FENCEAPPLYApply the armed fence type to the selection
FENCEDESIGNOpen the fence designer
FENCEELEV FELElevation of the selected fence

Status bar (bottom of the canvas)

Layer listCurrent layer for new objects
X / YCursor coordinates (E / N when georeferenced)
CAD / MAPCurrent environment
SNAP · GRIDGrid snap · grid display (click to toggle)
AUTO (5)Grid spacing — auto or the value you set
OSNAPObject snap master switch
CEN INT PERP TAN NEACentre · intersection · perpendicular · tangent · nearest snap modes
ORTHO · POLAR 90°Ortho lock · polar tracking and its angle
OTRACKObject-snap tracking
LWTShow lineweights
58%Zoom level · ☰ settings

Mouse & selection

ClickSelect an object (Properties opens)
Click, click →Box from left to right: green crossing
Click, click ←Box from right to left: blue window
Drag a gripStretch / move that vertex or centre
Drag selectionMove it
Double-clickEdit text, MTEXT or a table cell in place
Right-clickFinish / repeat the last command
WheelZoom at the cursor
Space + dragPan

Quick tips

RepeatEnter on an empty command line repeats the last command
TransparentPAN and the mouse wheel work in the middle of any command
Noun → verbSelect first, then type MOVE, ROTATE, GROUP, UNION…
Exact sizesType the length into the dynamic Length / Angle box next to the cursor
PropertiesEvery value of a selected object is editable in the Properties panel
LayersSet the current layer on the status bar before drawing
UnitsChoose mm, cm, m, in or ft in Settings → Editor defaults
SavingWork autosaves; name a version in History to mark a milestone

Worked examples

A 30 × 40 m site boundaryPL ⏎ 0,0 ⏎ @30,0 ⏎ @0,40 ⏎ @-30,0 ⏎ C
A 1 m set-back inside itO ⏎ 1 ⏎ click the boundary, then click inside
A 16 × 11 m house, rotated 15°REC ⏎ 6,14 ⏎ @16,11 ⏎ RO ⏎ select ⏎ 6,14 ⏎ 15
Five equally spaced postsDIV ⏎ pick the line ⏎ 5
Fence a parcel with a gateFN ⏎ click corners ⏎ C · GATE ⏎ click the fence · FEL
Work in real map coordinatesGEOREF → NZTM2000, E/N → Apply · L ⏎ G1752300,5428100 ⏎ @20<90
Sheet at 1:250, then PDFLO ⏎ name, A3 · MV → drag frame · PLOT → Export PDF
Start free

Try the commands on a real drawing.

Start designing freeFree to start · No credit card