eplisp

AutoCAD Commands Reference

The most used AutoCAD commands with their keyboard aliases and step-by-step usage. Click a command for the full explanation.

Draw

CommandAliasNameWhat it does
ARCAArcDraws an arc from three points or from combinations of center, angle, radius and direction.
CIRCLECCircleDraws a circle by center and radius, diameter, two or three points, or tangency.
DONUTDODonutDraws a filled ring or a solid dot from an inside and outside diameter.
ELLIPSEELEllipseDraws an ellipse or elliptical arc by defining its two axes.
HATCHH, BHHatchFills an enclosed area with a hatch pattern, a solid fill or a gradient.
LINELLineDraws straight line segments between points; each segment is a separate object.
MLINEMLMultilineDraws a multiline made of several parallel lines in one command.
PLINEPLPolylineDraws a polyline made of line and arc segments that acts as a single object.
POINTPOPointPlaces a point object at a location; its appearance is controlled by the point style.
POLYGONPOLPolygonDraws an equal-sided regular polygon as a closed polyline.
RECTANGRECRectangleDraws a rectangle as a closed polyline from two corners, dimensions or an area.
REVCLOUDRevision CloudDraws a revision cloud made of arcs to mark changed areas of a drawing.
SPLINESPLSplineDraws a smooth curve through fit points or shaped by control vertices.
XLINEXLConstruction LineDraws a construction line that extends infinitely in both directions.

Modify

CommandAliasNameWhat it does
ALIGNALAlignAligns objects with other objects using pairs of source and destination points.
ARRAYARArrayCreates copies of selected objects in a rectangular, polar or path array.
BREAKBRBreakRemoves the part of an object between two points, or splits it at one point.
CHAMFERCHAChamferBevels the corner between two lines with a straight chamfer line.
COPYCO, CPCopyCreates copies of selected objects at a specified distance and direction.
DIVIDEDIVDividePlaces points or blocks along an object to divide it into equal segments.
ERASEEEraseRemoves selected objects from the drawing.
EXPLODEXExplodeBreaks compound objects such as blocks, polylines and dimensions into their component objects.
EXTENDEXExtendExtends objects so they meet the edges of other objects.
FILLETFFilletConnects two objects with a tangent arc of a specified radius.
JOINJJoinCombines suitably placed lines, arcs, polylines and splines into a single object.
LENGTHENLENLengthenChanges the length of objects or the included angle of arcs by a value.
MATCHPROPMAMatch PropertiesApplies the properties of a source object to selected destination objects.
MEASUREMEMeasurePlaces points or blocks at a specified interval along an object.
MIRRORMIMirrorCreates a mirrored copy of selected objects across a line defined by two points.
MOVEMMoveMoves selected objects a specified distance in a specified direction.
OFFSETOOffsetCreates a parallel or concentric copy of an object at a specified distance.
PEDITPEPolyline EditEdits polylines and converts and joins lines and arcs into polylines.
ROTATERORotateRotates selected objects around a base point by a specified angle.
SCALESCScaleEnlarges or reduces selected objects proportionally around a base point.
STRETCHSStretchMoves the endpoints inside a crossing selection to stretch or shorten objects.
TRIMTRTrimTrims objects to meet the edges of other objects, removing the excess parts.

Text and Dimensions

CommandAliasNameWhat it does
DIMALIGNEDDAL, DIMALIAligned DimensionShows the true distance between two points with a dimension parallel to them.
DIMLINEARDLI, DIMLINLinear DimensionCreates a horizontal, vertical or rotated linear dimension between two points.
DIMSTYLED, DST, DIMSTY, DDIMDimension StyleManages the dimension styles that control arrows, text, units and scale.
MLEADERMLDMultileaderDraws a multileader made of an arrowhead, leader line and text or block content.
MTEXTT, MTMultiline TextCreates formatted multiline paragraph text that acts as one object.
STYLESTText StyleManages the text styles that set the font, height and effects of text.
TABLETBTableCreates a table object with rows and columns that can hold text and formulas.
TEXTDTSingle-Line TextCreates single-line text where each line is a separate object.
TEXTEDITEDEdit TextEdits the contents of single-line text, mtext, dimension text and attribute definitions.

Layers

CommandAliasNameWhat it does
LAYERLALayerOpens the Layer Properties Manager to create, edit and set the current layer.
LAYFRZLayer FreezeFreezes the layer of the object you pick.
LAYISOLayer IsolateHides, or locks and fades, all layers except the layers of the selected objects.
LAYMCURMake Object's Layer CurrentMakes the layer of the selected object the current layer.
LAYOFFLayer OffTurns off the layer of the object you pick.

Blocks

CommandAliasNameWhat it does
ATTDEFATTAttribute DefinitionCreates an attribute definition that holds a different value each time a block is inserted.
BEDITBEBlock EditorOpens a block definition in the Block Editor so you can change it.
BLOCKBBlockCreates a reusable block definition from selected objects in the current drawing.
INSERTIInsertPlaces a block definition or a DWG file into the drawing as a block.
WBLOCKWWrite BlockWrites a block, selected objects or the entire drawing to a new DWG file.

View

CommandAliasNameWhat it does
PANPPanShifts the view in any direction without changing the zoom level.
REGENRERegenerateRegenerates the current viewport from the drawing database.
ZOOMZZoomEnlarges or reduces the view without changing the drawing itself.

Inquiry

CommandAliasNameWhat it does
AREAAAAreaCalculates the area and perimeter of a region defined by points or a closed object.
DISTDIDistanceReports the distance, angle and coordinate differences between two points.
IDID PointDisplays the X, Y and Z coordinates of a picked point.
LISTLI, LSListLists properties and geometry data of selected objects in the text window.

File and Utilities

CommandAliasNameWhat it does
APPLOADAPLoad ApplicationLoads and unloads LISP, VLX, FAS, ARX and DVB applications and sets them to load at startup.
AUDITAuditChecks the integrity of the drawing database and can fix the errors it finds.
OVERKILLDelete Duplicate ObjectsDeletes duplicate overlapping objects and combines overlapping lines.
PURGEPUPurgeRemoves unused definitions such as blocks, layers, styles and linetypes.
QSAVEQuick SaveSaves the drawing using its current file name and format without prompting.