Pipe Ref Ask a question
Units

AutoCAD and BricsCAD commands for piping

The commands and short aliases piping designers and drafters use every day, for isometrics, P&IDs, take-offs and cleaning up client drawings. BricsCAD uses the same command names and ships with AutoCAD's default aliases, so one list covers both; the few differences are marked.

CommandAliasWhat it doesWorks in
LINELDraws straight line segments.Both
PLINEPLDraws a polyline: one object made of lines and arcs. Good for pipe centrelines.Both
CIRCLECDraws a circle by centre and radius or diameter.Both
ARCADraws an arc.Both
RECTANGRECDraws a rectangle as a closed polyline.Both
POLYGONPOLDraws a regular polygon, for example a hex nut outline.Both
ELLIPSEELDraws an ellipse. Its Isocircle option draws circles on isometric planes.Both
HATCHHFills an area with a pattern, for example section hatching.Both
XLINEXLDraws an infinite construction line.Both
MTEXTTAdds a paragraph of text.Both
TEXTDTAdds single-line text, one line at a time.Both
MLEADERMLDAdds a leader with text: line numbers, notes, callouts.Both
MOVEMMoves objects.Both
COPYCOCopies objects. CP also works.Both
ERASEEDeletes objects.Both
ROTATERORotates objects around a base point.Both
SCALESCScales objects up or down.Both
STRETCHSStretches objects caught in a crossing window.Both
MIRRORMIMirrors objects about a line.Both
OFFSETODraws a parallel copy at a set distance, for example pipe outlines from a centreline.Both
TRIMTRTrims objects back to a cutting edge.Both
EXTENDEXExtends objects to a boundary.Both
FILLETFRounds a corner with a radius, or joins two lines with radius 0.Both
CHAMFERCHABevels a corner.Both
ARRAYARMakes rows, circles or paths of copies, for example bolt holes.Both
EXPLODEXBreaks a block or polyline into its parts.Both
JOINJJoins lines and arcs into one object.Both
BREAKBRBreaks an object between two points.Both
ALIGNALMoves and rotates objects to line up with others.Both
PEDITPEEdits polylines: join, width, close.Both
MATCHPROPMACopies layer, colour and other properties from one object to others.Both
PROPERTIESPROpens the Properties panel. Ctrl+1 also works.Both
LAYERLAOpens the layer manager.Both
LAYISO—Shows only the layers of the objects you pick. Great for checking one service at a time.Both
LAYUNISO—Brings back the layers hidden by LAYISO.Both
LAYOFF—Turns off the layer of the object you pick.Both
LAYFRZ—Freezes the layer of the object you pick.Both
LAYLCK—Locks the layer of the object you pick, so it cannot be changed by mistake.Both
LAYULK—Unlocks the layer of the object you pick.Both
BLOCKBMakes a block from selected objects, for example a valve symbol.Both
INSERTIInserts a block.Both
WBLOCKWWrites a block or selection to its own drawing file.Both
BEDITBEOpens the block editor.Both
ATTDEFATTDefines an attribute: a text field inside a block, like a tag number or size.Both
ATTEDITATEEdits attribute values in an inserted block.Both
BATTMAN—Manages the attributes of a block definition: order, prompts, defaults.Both
ATTSYNC—Updates inserted blocks after you change their attributes.Both
XREFXROpens the external references manager: attach, reload, bind.Both
XATTACHXAAttaches a drawing as an external reference, for example a plot plan under a layout.Both
DISTDIMeasures distance and angle between two points.Both
AREAAAMeasures area and perimeter.Both
LISTLILists the data of selected objects.Both
ID—Shows the coordinates of a point.Both
QSELECT—Selects objects by type, layer, block name or other property. In BricsCAD it opens the Properties panel in Quick Select mode.Both
BCOUNT—Counts each block in a selection or the whole drawing (press Enter for all). Express Tools in AutoCAD.Both
COUNT—Count palette: counts blocks and highlights them. AutoCAD 2022 and later. In BricsCAD use BCOUNT.AutoCAD only
DATAEXTRACTIONDXExports block attributes and properties to a table or Excel/CSV: a quick material take-off.Both
DIMLINEARDLIHorizontal or vertical dimension.Both
DIMALIGNEDDALDimension parallel to the measured line. Used on isometrics.Both
DIMANGULARDANAngle dimension.Both
DIMRADIUSDRARadius dimension.Both
DIMDIAMETERDDIDiameter dimension.Both
DIMCONTINUEDCOContinues a chain of dimensions from the last one.Both
DIMBASELINEDBAAdds dimensions from the same base line.Both
DIMSTYLEDOpens dimension styles.Both
ISODRAFT—Turns isometric drafting on or off and picks the plane. In BricsCAD set SNAP style to Isometric and use ISOPLANE.AutoCAD only
ISOPLANE—Switches the isometric plane: left, top, right. F5 or Ctrl+E cycles the planes in both programs. Alias IS in BricsCAD.Both
SNAPSNSnap settings. Its Style option switches to an isometric grid.Both
PURGEPURemoves unused layers, blocks, styles and other clutter.Both
AUDIT—Checks the drawing for errors and fixes them.Both
RECOVER—Opens and repairs a damaged drawing.Both
OVERKILL—Deletes duplicate and overlapping objects.Both
ZOOMZZooms. Z then E zooms to everything in the drawing.Both
PANPPans the view.Both
REGENRERegenerates the drawing display.Both
MVIEWMVCreates viewports in a layout.Both
PLOT—Prints or saves to PDF. Ctrl+P also works.Both
UNDOUUndoes the last action. Ctrl+Z also works.Both
REDO—Redoes what you just undid. Ctrl+Y also works.Both
LENGTHENLENChanges the length of a line or arc by a set amount or to a total length.Both
GROUPGGroups objects so they select together.Both
SELECTSIMILAR—Selects everything like the picked object, by type and layer. Also on the right-click menu.Both
COPYBASE—Copies to the clipboard with a base point you pick. Ctrl+Shift+C.Both
PASTEBLOCK—Pastes the clipboard as a block. Ctrl+Shift+V.Both
PASTEORIG—Pastes at the same coordinates as the original drawing.Both
CHSPACE—Moves objects between model space and a layout viewport, keeping their size.Both
DIVIDEDIVPlaces points or blocks at equal spacing along an object.Both
MEASUREMEPlaces points or blocks at a set distance along an object, for example supports along a line.Both
POINTPOPlaces a point. Set its look with PTYPE.Both
REVCLOUD—Draws a revision cloud around changes.Both
WIPEOUT—Masks the area behind text or symbols.Both
TABLETBInserts a table, for example a line list or bill of materials.Both
FIND—Finds and replaces text, including attribute values such as tag numbers.Both
SPELLSPChecks spelling.Both
TXT2MTXT—Joins lines of single-line text into one paragraph text. Express Tools in AutoCAD.Both
TCOUNT—Adds sequential numbers to selected text, for example line or support numbers. Express Tools.Both
TXTEXP—Turns text into lines. Express Tools.Both
LAYMCUR—Makes the layer of the picked object current.Both
LAYCUR—Moves the picked objects to the current layer.Both
LAYMCH—Moves objects onto the layer of another object you pick.Both
LAYMRG—Merges layers into one target layer and removes the old ones.Both
LAYWALK—Steps through layers one by one to see what is on each.Both
REFEDIT—Edits a block or xref in place, inside the drawing.Both
BURST—Explodes a block but keeps the attribute values as text. Express Tools in AutoCAD.Both
ATTOUT—Exports block attributes to a text file you can edit in Excel. Express Tools in AutoCAD.Both
ATTIN—Reads the edited attribute file back into the drawing. Express Tools in AutoCAD.Both
XCLIPXCClips an xref or block to a boundary, so only part of it shows.Both
PDFATTACH—Attaches a PDF as an underlay you can snap to.Both
PDFIMPORT—Converts a PDF (vector) into lines, text and hatches you can edit.Both
EXPORTPDF—Saves the drawing or layouts to PDF.Both
PUBLISH—Batch-prints or exports many layouts or drawings in one go.Both
ETRANSMIT—Packs a drawing with its xrefs, fonts and images into one ZIP to send.Both
QDIM—Quick dimension: dimensions several objects in one go.Both
DIMBREAK—Breaks dimension lines where they cross other lines.Both
DIMSPACE—Evens out the spacing between stacked dimensions.Both
DIMEDITDEDEdits dimension text or makes extension lines oblique, useful on isometrics.Both
UCS—Sets the user coordinate system, for drawing at an angle.Both
PLAN—Shows the plan view of the current coordinate system.Both
LTSCALELTSSets the global linetype scale, so dashed and centre lines show properly.Both

Piping workflows

Isometric drawings

  1. ISODRAFT (AutoCAD) or SNAP → Style → Isometric (BricsCAD) to start
  2. F5 or Ctrl+E to switch between left, top and right planes
  3. ELLIPSE → Isocircle for round items on the iso planes
  4. DIMALIGNED for dimensions along the pipe runs
  5. MLEADER for line numbers and weld or support callouts

P&ID drafting

  1. INSERT valve and instrument blocks (the Pipe Ref P&ID symbols download as DXF blocks)
  2. ATTEDIT to fill in tag numbers; BATTMAN and ATTSYNC to fix block attributes
  3. MATCHPROP to bring lines onto the right layer and linetype
  4. LAYISO to check one service or line type at a time

Counting for a take-off

  1. BCOUNT and press Enter: counts every block in the drawing
  2. COUNT palette in AutoCAD 2022 and later
  3. QSELECT by block name and layer, then read the count
  4. DATAEXTRACTION (DX) to send block names and attributes to Excel

Cleaning a client drawing

  1. AUDIT to fix errors, or RECOVER if it will not open
  2. PURGE (PU) to remove unused layers and blocks
  3. OVERKILL to delete duplicate lines
  4. XREF to check missing references; bind only what you must send
  5. LAYISO / LAYUNISO to check what sits on each layer

Turning a PDF into CAD

  1. PDFATTACH to see it first, or PDFIMPORT to convert it
  2. DIST on a known length, then SCALE with the Reference option to fix the scale
  3. TXT2MTXT to join broken text, OVERKILL to remove doubled lines
  4. PURGE to clear the imported clutter

Editing tags in Excel

  1. ATTOUT and pick the tagged blocks: valves, instruments, line numbers
  2. Open the text file in Excel, change the values, save as tab-delimited text
  3. ATTIN to load the changes back into the drawing
  4. TCOUNT to number new tags in sequence

Keyboard keys

KeyWhat it does
F3Object snap on/off
F7Grid on/off
F8Ortho on/off
F9Snap on/off
F5 or Ctrl+ENext isometric plane
Ctrl+1Properties panel
Ctrl+PPlot
EscCancel the current command
Enter or SpaceRepeat the last command
Ctrl+Z / Ctrl+YUndo / redo
Ctrl+Shift+CCopy with a base point
Ctrl+Shift+VPaste as a block
Ctrl+TabSwitch between open drawings

Drafting tricks

TrickWhat it does
@500,0Relative coordinates: the next point is 500 right of the last one. @0,-300 is 300 down.
@1000<45Polar input: 1000 long at 45°. Handy for isometric runs at 30° and 150°.
Point and type a lengthWith Ortho (F8) or polar tracking on, point the cursor the way you want to go and just type the distance.
Shift + right-clickOpens the snap menu for one pick: midpoint, intersection, perpendicular and so on.
Hold ShiftTemporarily flips Ortho while you draw.
ALL at "Select objects"Type ALL to select everything that is not frozen or locked.
Pick, then right-clickSelect one object, right-click and choose Select Similar to grab all like it.
'ZOOM inside a commandAn apostrophe runs ZOOM or PAN without leaving the command you are in.
Double-click the wheelZooms to show the whole drawing.
Copy between drawingsCtrl+Shift+C with a base point, then Ctrl+V in the other drawing keeps the position you want.

Useful settings (system variables)

VariableSet toWhy
MIRRTEXT0Text stays readable when you mirror.
PICKADD1Each pick adds to the selection.
FILEDIA1Open and Save show the normal file window.
ATTDIA1Attribute values are asked in a dialog when you insert a block.
ATTREQ1You are asked for attribute values on insert (0 uses defaults).
PSLTSCALE1Linetypes look the same in every viewport scale.
PEDITACCEPT1PEDIT turns lines into polylines without asking.
OSMODE—Stores which object snaps are on; set it with the OSNAP dialog.

Command not working?

The command line has disappeared

In AutoCAD press Ctrl+9 or type COMMANDLINE. In BricsCAD, right-click a toolbar or the ribbon and tick Command line.

Snaps do not catch points

Press F3 to turn object snap back on, and type OSNAP to choose which snaps are active.

Each pick replaces the previous selection

Set the system variable PICKADD to 1 (or 2). With 0 you must hold Shift to add objects.

Open and Save show prompts instead of a window

Set FILEDIA to 1.

An alias like L or CO does nothing

Someone edited the alias file (acad.pgp in AutoCAD, default.pgp in BricsCAD). Restore it, then type REINIT in AutoCAD.

The drawing is slow and heavy

Run AUDIT, PURGE and OVERKILL, and check for big xrefs or images.

Aliases are the defaults; your company may have changed them. Names checked against the Autodesk and Bricsys command references; older versions may not have every command. AutoCAD is a trademark of Autodesk, Inc. and BricsCAD a trademark of Bricsys NV; Pipe Ref is not connected to either.