AutoCAD Commands List (2000 to 2026)

403 commands • Command line or dialog? • Hyphen versions for scripts • Added and removed commands through AutoCAD 2026

Last updated: September 25, 2026


How to use this table: Hurricane drives AutoCAD entirely through the command line using script files. Commands marked YES work directly in scripts. Commands marked HYPHEN open a dialog box by default; prefix them with a hyphen (e.g. -LAYER instead of LAYER) to get a fully command-line version. Commands marked NO require interactive dialog input and cannot be scripted. Search by name, filter by type, or jump to a letter. Every command has its own link (for example #-PURGE) that you can bookmark or share.

📚 Companion resource: AutoCAD System Variables List: 359 system variables rated for scripting, including the 6 KEY variables every batch script must set.

● YES: Command line / Hurricane compatible ● HYPHEN: Use -COMMAND to suppress dialog ● NO: Dialog required; cannot be scripted ● REMOVED: No longer in modern AutoCAD
252Command-line (YES)
39Hyphen variant
79Dialog only
33Removed
403Total commands
Filter:
Command Description Status 2024–2026 Dialog Box? Hyphen Variant Hurricane? Notes & Changes
#
3DCreates 3D polygon mesh objectsPresentNoNoneYES
3DARRAYCreates a 3D arrayREMOVED ~2012n/aNoneREMOVEDFolded into the ARRAY command (Rectangular / Polar / Path types added in 2012)
3DCLIPOpens Adjust Clipping Planes window in 3D viewPresentNoNoneYESPart of 3D navigation suite
3DCORBITSets objects into continuous motion in 3D viewPresentNoNoneYESPart of 3D navigation suite
3DDISTANCEMakes objects appear closer or farther in 3D viewPresentNoNoneYES
3DFACECreates a 3D facePresentNoNoneYES
3DMESHCreates a free-form polygon meshPresentNoNoneYESLegacy mesh creation
3DORBITControls interactive 3D viewingPresentNoNoneYESCore 3D navigation command
3DPANHorizontal/vertical drag in 3D viewPresentNoNoneYES
3DPOLYCreates a 3D polyline using CONTINUOUS linetypePresentNoNoneYES
3DSINImports a 3D Studio (3DS) fileREMOVED ~2014n/aNoneREMOVEDUse IMPORT instead
3DSOUTExports to a 3D Studio (3DS) fileREMOVED ~2014n/aNoneREMOVEDUse EXPORT instead
3DSWIVELSimulates turning the camera in 3D viewPresentNoNoneYES
3DZOOMZooms in and out in 3D viewPresentNoNoneYES
A
ABOUTDisplays information about AutoCADPresentYes, info dialogNoneNOOpens About dialog; requires dismissal; no scripting use
ACISINImports an ACIS filePresentFile dialogNoneFILEDIA=0Set FILEDIA 0 before command to use a command-line filename instead of a dialog
ACISOUTExports solid objects to an ACIS filePresentFile dialogNoneFILEDIA=0Set FILEDIA 0 before command
ADCCLOSECloses AutoCAD DesignCenterPresentNoNoneYESDesignCenter still available as a palette
ADCENTERManages content (DesignCenter)PresentOpens paletteNoneNOOpens DesignCenter palette; interactive only
ADCNAVIGATEDirects DesignCenter to a specified pathPresentNoNoneYESTakes a path as a command-line argument
ALIGNAligns objects with other objects in 2D and 3DPresentNoNoneYES
AMECONVERTConverts AME solid models to AutoCAD solid objectsREMOVEDn/aNoneREMOVEDAME solid modeling discontinued
APERTUREControls size of the object snap target boxPresentNoNoneYESPrompts on the command line
APPLOADLoads/unloads applications; defines startup appsPresentYes, dialogNoneNOAlways opens Load/Unload Applications dialog
ARCCreates an arcPresentNoNoneYES
AREACalculates area and perimeter of objects or areasPresentNoNoneYESMEASUREGEOM (2010+) is an enhanced replacement; AREA still works
ARRAYCreates multiple copies of objects in a patternCHANGED 2012Yes, dialog (2012+)-ARRAYHYPHENPre-2012: command line. 2012+: opens ribbon/dialog. Use -ARRAY for scripts. Now has Rectangular, Polar, and Path types. 3DARRAY was removed and folded in.
ARXLoads/unloads ObjectARX applicationsPresentNoNoneYES
ATTDEFCreates an attribute definitionPresentYes, dialog-ATTDEFHYPHENAttribute Definition dialog by default; -ATTDEF uses the command line
ATTDISPGlobally controls attribute visibilityPresentNoNoneYES
ATTEDITChanges attribute informationPresentYes, dialog-ATTEDITHYPHENOpens attribute edit dialog; -ATTEDIT uses the command line
ATTEXTExtracts attribute dataPresent (deprecated)Yes, dialog-ATTEXTHYPHENSuperseded by DATAEXTRACTION (2008+); still works in most versions
ATTREDEFRedefines a block and updates associated attributesPresentNoNoneYES
AUDITEvaluates the integrity of a drawingPresentNoNoneYESCore maintenance command; works perfectly in Hurricane scripts
B
BACKGROUNDSets up the background for a sceneREMOVED ~2009n/aNoneREMOVEDNow controlled via RENDERENVIRONMENT / Visual Styles
BASESets the insertion base point for the current drawingPresentNoNoneYES
BHATCHFills an enclosed area with a hatch patternALIAS for HATCHYes, dialog-HATCHHYPHENBHATCH is now an alias for HATCH. Use -HATCH for command-line scripting.
BLIPMODEControls the display of marker blipsREMOVED 2015n/aNoneREMOVEDBlips feature permanently removed
BLOCKCreates a block definition from objects you selectPresentYes, dialog-BLOCKHYPHEN-BLOCK uses the command line; main BLOCK command opens the Block Definition dialog
BLOCKICONGenerates preview images for blocks (Release 14 or earlier)PresentNoNoneYESMostly irrelevant for modern drawings
BMPOUTSaves selected objects to a BMP filePresentFile dialogNoneFILEDIA=0Opens file save dialog; FILEDIA 0 allows command-line filename
BOUNDARYCreates a region or polyline from an enclosed areaPresentYes, dialog-BOUNDARYHYPHEN-BOUNDARY provides command-line prompts
BOXCreates a 3D solid boxPresentNoNoneYES
BREAKErases parts of objects or splits an object in twoPresentNoNoneYES
BROWSERLaunches the default web browserREMOVED ~2015n/aNoneREMOVED
C
CALEvaluates mathematical and geometric expressionsPresentNoNoneYES
CAMERASets a camera and target locationPresentNo, interactiveNoneYESSets camera via command-line prompts and 3D gizmo
CHAMFERBevels the edges of objectsPresentNoNoneYES
CHANGEChanges the properties of existing objectsPresentNoNoneYESLegacy command; CHPROP and PROPERTIES are preferred
CHPROPChanges color, layer, linetype, lineweight, and thickness of an objectPresentNoNoneYES
CIRCLECreates a circlePresentNoNoneYES
CLOSECloses the current drawingPresentPossible (unsaved changes)NoneYESMay prompt to save if there are unsaved changes; precede with QSAVE in scripts
COLORDefines color for new objectsPresentYes, dialog-COLORHYPHEN-COLOR accepts a color number or name on the command line (e.g. -COLOR 3 or -COLOR Red)
COMPILECompiles shape files and PostScript font filesREMOVED ~2010n/aNoneREMOVEDShape/SHX compilation is now handled differently
CONECreates a 3D solid conePresentNoNoneYES
CONVERTOptimizes 2D polylines and hatches from Release 13 or earlierPresent (legacy)NoNoneYESLargely irrelevant for modern drawings
COPYDuplicates objectsPresentNoNoneYES
COPYBASECopies objects with a specified base pointPresentNoNoneYES
COPYCLIPCopies objects to the ClipboardPresentNoNoneYES
COPYHISTCopies command line history to the ClipboardPresentNoNoneYES
CUTCLIPCopies objects to the Clipboard and erases them from the drawingPresentNoNoneYES
CYLINDERCreates a 3D solid cylinderPresentNoNoneYES
D
DBCCLOSECloses the dbConnect ManagerREMOVED ~2015n/aNoneREMOVEDDatabase connectivity removed from AutoCAD
DBCONNECTProvides an interface to external database tablesREMOVED ~2015n/aNoneREMOVEDDatabase connectivity removed from AutoCAD
DBLISTLists database information for each object in the drawingPresentNo, text outputNoneYESOutputs to the command line / text window
DDEDITEdits text and attribute definitionsCHANGED ~2016Yes, text editorNoneNOReplaced by TEXTEDIT in newer versions; opens the in-place text editor
DDPTYPESpecifies the display mode and size of point objectsPresentYes, dialogNoneNONo hyphen variant; dialog only. PTYPE is an alternative (also dialog-based).
DDVPOINTSets the 3D viewing directionCHANGED ~2006Yes, dialogNoneNOLargely replaced by ViewCube and 3DORBIT; dialog only
DELAYProvides a timed pause within a scriptPresentNoNoneYESEssential script command for pacing operations
DIMAccesses Dimensioning modePresentNoNoneYESLegacy dim mode; individual DIM* commands are preferred
DIMALIGNEDCreates an aligned linear dimensionPresentNoNoneYES
DIMANGULARCreates an angular dimensionPresentNoNoneYES
DIMBASELINECreates a dimension from the baseline of the previous dimensionPresentNoNoneYES
DIMCENTERCreates a center mark or centerlines of circles and arcsPresentNoNoneYES
DIMCONTINUECreates a dimension from the second extension line of the previous dimensionPresentNoNoneYES
DIMDIAMETERCreates diameter dimensions for circles and arcsPresentNoNoneYES
DIMEDITEdits dimensionsPresentNoNoneYES
DIMLINEARCreates linear dimensionsPresentNoNoneYES
DIMORDINATECreates ordinate point dimensionsPresentNoNoneYES
DIMOVERRIDEOverrides dimension system variablesPresentNoNoneYES
DIMRADIUSCreates radial dimensions for circles and arcsPresentNoNoneYES
DIMSTYLECreates and modifies dimension stylesPresentYes, dialog-DIMSTYLEHYPHEN-DIMSTYLE provides command-line dimension style management
DIMTEDITMoves and rotates dimension textPresentNoNoneYES
DISTMeasures the distance and angle between two pointsPresentNoNoneYESMEASUREGEOM (2010+) is an enhanced version; DIST still works
DIVIDEPlaces evenly spaced point objects or blocks along an objectPresentNoNoneYES
DONUTDraws filled circles and ringsPresentNoNoneYES
DRAGMODEControls how AutoCAD displays dragged objectsPresentNoNoneYESSystem variable, still in AutoCAD 2026: 0=off 1=on when you enter DRAG 2=auto (default)
DRAWORDERChanges the display order of images and other objectsPresentNoNoneYESWorks well in scripts
DSETTINGSSpecifies Snap, Grid, Polar, and Object Snap tracking settingsPresentYes, dialogNoneNODrafting Settings dialog; no hyphen variant. Use system variables directly instead.
DSVIEWEROpens the Aerial View windowREMOVED ~2014n/aNoneREMOVEDAerial View feature discontinued
DVIEWDefines parallel projection or perspective viewsPresent (legacy)No, interactiveNoneYESLargely replaced by ViewCube / 3DORBIT; still functional
DWGPROPSSets and displays the properties of the current drawingPresentYes, dialogNoneNODrawing Properties dialog; no hyphen variant
DXBINImports specially coded binary filesPresent (legacy)File dialogNoneFILEDIA=0
E
EDGEChanges the visibility of 3D face edgesPresentNoNoneYES
EDGESURFCreates a 3D polygon mesh from 4 edge curvesPresentNoNoneYES
ELEVSets elevation and extrusion thickness for new objectsPresentNoNoneYES
ELLIPSECreates an ellipse or an elliptical arcPresentNoNoneYES
ERASERemoves objects from a drawingPresentNoNoneYESCore edit command
EXPLODEBreaks a compound object into its component objectsPresentNoNoneYES
EXPORTSaves objects to other file formatsPresentYes, dialogNoneFILEDIA=0Set FILEDIA 0 to suppress; then specify format and filename on the command line
EXPRESSTOOLSActivates Express Tools if currently unavailablePresentNoNoneYES
EXTENDExtends an object to meet another objectPresentNoNoneYES
EXTRUDECreates solids by extruding 2D objectsPresentNoNoneYES
F
FILLControls filling of multilines, traces, solids, hatches, and wide polylinesPresentNoNoneYES
FILLETRounds and fillets the edges of objectsPresentNoNoneYES
FILTERCreates reusable filters to select objects based on propertiesPresentYes, dialogNoneNOObject Selection Filter dialog; no hyphen variant
FINDFinds, replaces, selects, or zooms to specified textCHANGED, 2026 added -FINDYes, dialog-FIND (2026+)HYPHENDialog only through AutoCAD 2025. AutoCAD 2026 added -FIND for command-line text find and replace, a major addition for Hurricane batch scripting.
FOGProvides visual cues for the apparent distance of objectsREMOVED ~2009n/aNoneREMOVEDReplaced by Render Environment atmosphere effects
G
GRAPHSCRSwitches from the text window to the drawing areaREMOVED ~2015n/aNoneREMOVEDText/graphics window split removed in modern interface
GRIDDisplays a dot grid in the current viewportPresentNoNoneYES
GROUPCreates a named selection set of objectsCHANGED 2012Yes, dialog (2012+)-GROUPHYPHENPre-2012: command line only. 2012+: opens Object Grouping dialog. Use -GROUP for scripts.
H
HATCHFills a specified boundary with a patternCHANGED 2011Yes, Ribbon (2011+)-HATCHHYPHENPre-2011: command line. 2011+: opens Hatch Creation ribbon tab. Use -HATCH for scripts. Much enhanced pattern library.
HATCHEDITModifies an existing hatch objectCHANGED 2011Yes, dialog / ribbonNoneNOOpens Hatch Editor; no hyphen variant for silent scripting
HELPDisplays online helpPresentYes, browser / dialogNoneNOOpens help documentation
HIDERegenerates a 3D model with hidden lines suppressedPresentNoNoneYES
HYPERLINKOPTIONSControls visibility of the hyperlink cursor and tooltipsPresentYes, dialogNoneNO
I
IDDisplays the coordinate values of a locationPresentNoNoneYES
IMAGEManages imagesCHANGEDYes, dialog-IMAGEHYPHENIMAGE opens References Manager; -IMAGE provides command-line image management
IMAGEADJUSTControls brightness, contrast, and fade of imagesPresentYes, dialogNoneNOImage Adjust dialog; no hyphen variant
IMAGEATTACHAttaches a new image to the current drawingPresentYes, dialogNoneNOFile attach dialog; cannot be scripted silently
IMAGECLIPCreates new clipping boundaries for an image objectPresentNo, interactiveNoneYESWorks on the command line with interactive prompts
IMAGEFRAMEControls whether AutoCAD displays the image framePresentNoNoneYESSystem variable IMAGEFRAME is also settable via SETVAR
IMAGEQUALITYControls the display quality of imagesPresentNoNoneYES
IMPORTImports files in various formats into AutoCADPresentYes, dialogNoneFILEDIA=0File open dialog; FILEDIA 0 allows format and filename specification on the command line
INSERTPlaces a named block or drawing into the current drawingCHANGED 2020Yes, Blocks palette (2020+)-INSERTHYPHEN2020+ opens the Blocks palette instead of the classic dialog. CLASSICINSERT (2020+) restores the old dialog. -INSERT always uses the command line, critical for Hurricane scripts.
INSERTOBJInserts a linked or embedded OLE objectPresentYes, OLE dialogNoneNOOLE Insert dialog; no scripting equivalent
INTERFERECreates a composite 3D solid from the common volume of two or more solidsCHANGEDYes, results dialogNoneNOInterference detection now shows an interactive results dialog
INTERSECTCreates composite solids or regions from the intersection of two or more solidsPresentNoNoneYES
ISOPLANESpecifies the current isometric planePresentNoNoneYES
L
LAYERManages layers and layer propertiesPresentYes, Layer Manager-LAYERHYPHEN-LAYER is essential for Hurricane scripts: create, set, freeze, and thaw layers from the command line without opening the Layer Properties Manager
LAYOUTCreates, renames, copies, saves, or deletes layoutsPresentPartial dialog-LAYOUTHYPHEN-LAYOUT allows command-line layout creation and management
LAYOUTWIZARDStarts the Layout wizard for page and plot settingsREMOVED ~2010n/aNoneREMOVEDUse LAYOUT or PAGESETUP instead
LEADERCreates a line connecting annotation to a featurePresent (deprecated)NoNoneYESSuperseded by MLEADER (2008+); LEADER still works
LENGTHENLengthens an objectPresentNoNoneYES
LIGHTManages lights and lighting effectsCHANGEDYes, dialogNoneNORender Lights Manager in modern versions; dialog-based
LIMITSSets and controls drawing boundaries and grid displayPresentNoNoneYES
LINECreates straight line segmentsPresentNoNoneYES
LINETYPECreates, loads, and sets linetypesPresentYes, dialog-LINETYPEHYPHEN-LINETYPE provides command-line linetype loading and setting
LISTDisplays database information for selected objectsPresentNo, text outputNoneYES
LOADMakes shapes available for use by the SHAPE commandPresentYes, dialogNoneNOShape file load dialog
LOGFILEOFFCloses the log file opened by LOGFILEONPresentNoNoneYES
LOGFILEONWrites the text window contents to a filePresentNoNoneYES
LSEDITEdits a landscape objectREMOVED ~2000n/aNoneREMOVEDLandscape Objects feature discontinued
LSLIBMaintains libraries of landscape objectsREMOVED ~2000n/aNoneREMOVEDLandscape Objects feature discontinued
LSNEWAdds landscape items such as trees and bushes to drawingsREMOVED ~2000n/aNoneREMOVEDLandscape Objects feature discontinued
LTSCALESets the linetype scale factorPresentNoNoneYESSystem variable LTSCALE is also settable via SETVAR
LWEIGHTSets current lineweight, display options, and unitsPresentYes, dialog-LWEIGHTHYPHEN-LWEIGHT provides command-line lineweight management
M
MASSPROPCalculates and displays mass properties of regions or solidsPresentNo, text outputNoneYES
MATCHPROPCopies properties from one object to one or more othersPresentNo, interactiveNoneYES
MATLIBImports and exports materials to and from a libraryREMOVED ~2009n/aNoneREMOVEDReplaced by the MATERIALS command and Materials Browser
MEASUREPlaces point objects or blocks at measured intervals on an objectPresentNoNoneYES
MINSERTInserts multiple instances of a block in a rectangular arrayPresentNoNoneYES
MIRRORCreates a mirror image copy of objectsPresentNoNoneYES
MIRROR3DCreates a mirror image of objects about a planePresentNoNoneYES
MLEDITEdits multiple parallel linesPresentYes, dialogNoneNOMultiline Edit Tools dialog; no hyphen variant. Note: MLINE is largely deprecated.
MLINECreates multiple parallel linesPresent (deprecated)NoNoneYESMultilines largely superseded by other methods; MLINE itself is command-line
MLSTYLEDefines a style for multiple parallel linesPresent (deprecated)Yes, dialogNoneNOMultiline Style dialog; no hyphen variant
MODELSwitches from a layout tab to the Model tabPresentNoNoneYES
MOVEDisplaces objects a specified distance in a specified directionPresentNoNoneYES
MSLIDECreates a slide file of the current viewportPresent (legacy)File dialogNoneFILEDIA=0
MSPACESwitches from paper space to a model space viewportPresentNoNoneYES
MTEXTCreates multiline textPresent (enhanced)Yes, in-place editor-MTEXTHYPHEN-MTEXT allows command-line text creation; main MTEXT opens the rich text editor
MULTIPLERepeats the next command until canceledPresentNoNoneYESUseful in interactive use; less relevant in scripts
MVIEWCreates floating viewports and turns on existing floating viewportsPresentNoNoneYES
MVSETUPSets up the specifications of a drawingPresentNo, promptsNoneYESWorks via command-line prompts
N
NEWCreates a new drawing filePresentYes, dialog / template selectorNoneNOAlways opens the New Drawing dialog or template selector
O
OFFSETCreates concentric circles, parallel lines, and parallel curvesPresentNoNoneYES
OLESCALEDisplays the OLE Properties dialog boxPresentYes, dialogNoneNO
OOPSRestores erased objectsPresentNoNoneYES
OPENOpens an existing drawing filePresentYes, file dialogNoneNOFile open dialog; FILEDIA 0 behavior varies. Not suitable for Hurricane scripts.
OPTIONSCustomizes the AutoCAD settingsPresentYes, dialogNoneNOOptions dialog; no hyphen variant
ORTHOConstrains cursor movementPresentNoNoneYES
OSNAPSets object snap modesPresentYes, dialog-OSNAPHYPHEN-OSNAP allows command-line snap mode setting
P
PAGESETUPSpecifies the layout, plotting device, paper size, and settingsPresentYes, dialog-PAGESETUPHYPHEN-PAGESETUP allows command-line page setup management
PANMoves the drawing display in the current viewportPresentNo, interactiveNoneYESTransparent command ('PAN); interactive panning
PARTIALOADLoads additional geometry into a partially opened drawingPresentYes, dialogNoneNO
PARTIALOPENLoads geometry from a selected view or layer into a drawingPresentYes, dialogNoneNO
PASTEBLOCKPastes a copied block into a new drawingPresentNoNoneYES
PASTECLIPInserts data from the ClipboardPresentNoNoneYES
PASTEORIGPastes a copied object using the coordinates from the original drawingPresentNoNoneYES
PASTESPECInserts data from the Clipboard and controls the format of the dataPresentYes, dialogNoneNOPaste Special dialog
PCINWIZARDImports PCP/PC2 configuration file plot settingsREMOVED ~2010n/aNoneREMOVEDOld pen configuration wizard; replaced by PC3 plotter files
PEDITEdits polylines and 3D polygon meshesPresentNo, promptsNoneYES
PFACECreates a 3D polyface mesh vertex by vertexPresentNoNoneYES
PLANDisplays the plan view of a user coordinate systemPresentNoNoneYES
PLINECreates two-dimensional polylinesPresentNoNoneYES
PLOTPlots a drawing to a plotting device or filePresentYes, dialog-PLOTHYPHEN-PLOT is critical for Hurricane batch plotting: specify the device, paper size, and layout from the command line without the Plot dialog
PLOTSTYLESets the current plot style for new or selected objectsPresentYes, dialogNoneNO
PLOTTERMANAGERDisplays the Plotter ManagerPresentYes, windowNoneNOOpens a file system folder with plotter configuration files
POINTCreates a point objectPresentNoNoneYES
POLYGONCreates an equilateral closed polylinePresentNoNoneYES
PREVIEWShows how the drawing will look when printed or plottedPresentNo, preview windowNoneYESPreview window; closes with ESC or Enter
PROPERTIESControls properties of existing objectsPresentYes, paletteNoneNOOpens Properties palette; use CHPROP or CHANGE for scripting instead
PROPERTIESCLOSECloses the Properties windowPresentNoNoneYES
PSDRAGControls the appearance of a PostScript image as it is dragged with PSINPresent (legacy)NoNoneYES
PSETUPINImports a user-defined page setup into a new drawing layoutPresentYes, dialogNoneNO
PSFILLFills a 2D polyline outline with a PostScript patternPresent (legacy)NoNoneYES
PSINImports a PostScript filePresent (legacy)File dialogNoneFILEDIA=0
PSOUTCreates an encapsulated PostScript filePresent (legacy)File dialogNoneFILEDIA=0
PSPACESwitches from a model space viewport to paper spacePresentNoNoneYES
PURGERemoves unused named objects such as blocks or layers from the drawing databaseCHANGED 2020Yes, dialog / palette (2015+)-PURGEHYPHEN-PURGE is critical for Hurricane. Command: -PURGE All * No (purges all unused items, wildcard match, no confirmation). The 2020+ Purge palette UI is enhanced but -PURGE is unchanged.
Q
QDIMQuickly creates a dimensionPresentNoNoneYES
QLEADERQuickly creates a leader and leader annotationPresent (deprecated)NoNoneYESSuperseded by MLEADER (2008+)
QSAVEQuickly saves the current drawingPresentNoNoneYESCritical for Hurricane scripts: save after each drawing operation
QSELECTCreates selection sets based on filtering criteriaPresentYes, dialogNoneNOQuick Select dialog; no hyphen variant
QTEXTControls the display and plotting of text and attribute objectsPresentNoNoneYES
QUITExits AutoCADPresentPossible (unsaved changes)NoneYESIn scripts: use after QSAVE to ensure a clean exit
R
RAYCreates a semi-infinite linePresentNoNoneYES
RECOVERRepairs a damaged drawingPresentYes, file dialogNoneNOFile open dialog; not suitable for batch scripting
RECTANGDraws a rectangular polylinePresentNoNoneYES
REDEFINERestores AutoCAD internal commands overridden by UNDEFINEPresentNoNoneYES
REDOReverses the effects of the previous UNDO or U commandPresentNoNoneYES
REDRAWRefreshes the display in the current viewportPresentNoNoneYES
REDRAWALLRefreshes the display in all viewportsPresentNoNoneYES
REFCLOSESaves back or discards changes made during in-place editing of a referencePresentNo, promptsNoneYES
REFEDITSelects a reference for in-place editingPresentYes, dialogNoneNOReference Edit dialog; no hyphen variant
REFSETAdds or removes objects from a working set during in-place editingPresentNoNoneYES
REGENRegenerates the drawing and refreshes the current viewportPresentNoNoneYES
REGENALLRegenerates the drawing and refreshes all viewportsPresentNoNoneYES
REGENAUTOControls automatic regeneration of a drawingPresentNoNoneYES
REGIONCreates a region object from a selection set of existing objectsPresentNoNoneYES
REINITReinitializes the digitizer, port, and program parameters filePresentYes, dialogNoneNORe-initialization dialog
RENAMEChanges the names of objectsPresentYes, dialog-RENAMEHYPHEN-RENAME allows command-line renaming of layers, blocks, styles, and other named objects
RENDERCreates a photorealistic or realistically shaded imageCHANGEDYes, dialog / windowNoneNOModern AutoCAD uses the Render Window; significantly changed from the AutoCAD 2000 version
RENDSCRRedisplays the last rendering created with the RENDER commandREMOVED ~2009n/aNoneREMOVEDReplaced by the Render Window
REPLAYDisplays a BMP, TGA, or TIFF imageREMOVED ~2009n/aNoneREMOVEDUse image attach tools instead
RESUMEContinues an interrupted scriptPresentNoNoneYES
REVOLVECreates solids by revolving 2D objects about an axisPresentNoNoneYES
REVSURFCreates a revolved surface about a selected axisPresentNoNoneYES
RMATManages rendering materialsREMOVED ~2009n/aNoneREMOVEDReplaced by the MATERIALS command and Materials Browser
ROTATEMoves objects about a base pointPresentNoNoneYES
ROTATE3DMoves objects about a three-dimensional axisPresentNoNoneYES
RPREFSets rendering preferencesCHANGEDYes, dialogNoneNORender Presets Manager in modern versions; dialog-based
RSCRIPTCreates a script that repeats continuouslyPresentNoNoneYESUseful for looping scripts
RULESURFCreates a ruled surface between two curvesPresentNoNoneYES
S
SAVESaves the drawing under the current file name or a specified namePresentNo (or dialog if first save)NoneYESUse QSAVE in scripts for reliable silent saving
SAVEASSaves an unnamed drawing with a file name or renames the current drawingPresentYes, file dialogNoneFILEDIA=0Always opens the Save As dialog normally; FILEDIA 0 may allow command-line filename entry
SAVEIMGSaves a rendered image to a fileREMOVED ~2009n/aNoneREMOVEDUse SAVESHOT or screenshot tools instead
SCALEEnlarges or reduces selected objects equally in X, Y, and ZPresentNoNoneYES
SCENEManages scenes in model spaceREMOVED ~2009n/aNoneREMOVEDRender Scenes concept removed; use Visual Styles and Render presets
SCRIPTExecutes a sequence of commands from a script filePresentFile dialog (with FILEDIA 1)NoneFILEDIA=0Set FILEDIA 0 to specify the script filename on the command line without a dialog
SECTIONUses the intersection of a plane and solids to create a regionPresentNoNoneYES
SELECTPlaces selected objects in the Previous selection setPresentNoNoneYES
SETUVMaps materials onto objectsREMOVED ~2009n/aNoneREMOVEDMaterial mapping is now done via the Materials Browser
SETVARLists or changes the values of system variablesPresentNoNoneYESEssential for scripting: SETVAR FILEDIA 0, SETVAR ATTDIA 0, etc.
SHADEMODEShades the objects in the current viewportCHANGEDNoNoneYESNow an alias or variant of VSCURRENT; still accepted
SHAPEInserts a shapePresentNoNoneYES
SHELLAccesses operating system commandsPresentNo, opens CMD windowNoneYESOpens the Windows command prompt; useful for OS-level operations in scripts
SHOWMATLists the material type and attachment method for a selected objectREMOVED ~2009n/aNoneREMOVED
SKETCHCreates a series of freehand line segmentsPresentNoNoneYES
SLICESlices a set of solids with a planePresentNoNoneYES
SNAPRestricts cursor movement to specified intervalsPresentNoNoneYES
SOLDRAWGenerates profiles and sections in viewports created with SOLVIEWPresentNoNoneYES
SOLIDCreates solid-filled polygonsPresentNoNoneYES
SOLIDEDITEdits faces and edges of 3D solid objectsPresentNo, promptsNoneYES
SOLPROFCreates profile images of three-dimensional solidsPresentNoNoneYES
SOLVIEWCreates floating viewports for multi-view solid drawingsPresentNoNoneYES
SPELLChecks spelling in a drawingPresentYes, dialogNoneNOSpell Check dialog
SPHERECreates a three-dimensional solid spherePresentNoNoneYES
SPLINECreates a quadratic or cubic spline (NURBS) curvePresentNoNoneYES
SPLINEDITEdits a spline objectPresentNo, promptsNoneYES
STATSDisplays rendering statisticsREMOVED ~2009n/aNoneREMOVED
STATUSDisplays drawing statistics, modes, and extentsPresentNo, text outputNoneYES
STLOUTStores a solid in an ASCII or binary filePresentFile dialogNoneFILEDIA=0
STRETCHMoves or stretches objectsPresentNoNoneYES
STYLECreates or modifies named text stylesPresentYes, dialog-STYLEHYPHEN-STYLE allows command-line text style creation and modification
STYLESMANAGERDisplays the Plot Style ManagerPresentYes, Explorer windowNoneNOOpens the CTB/STB file folder
SUBTRACTCreates a composite region or solid by subtractionPresentNoNoneYES
SYSWINDOWSArranges windowsPresent (limited)NoNoneYES
T
TABLETCalibrates, configures, and turns on and off an attached digitizing tabletPresentYes, dialogNoneNOTablet calibration dialog
TABSURFCreates a tabulated surface from a path curve and a direction vectorPresentNoNoneYES
TEXTDisplays text on screen as it is enteredPresentNoNoneYESSingle-line text; works perfectly in scripts
TEXTSCROpens the AutoCAD text windowCHANGED ~2015NoNoneYESText/command window behavior changed in newer versions
TIMEDisplays the date and time statistics of a drawingPresentNo, text outputNoneYES
TOLERANCECreates geometric tolerancesPresentYes, dialogNoneNOGeometric Tolerance (GD&T) dialog; no hyphen variant
TOOLBARDisplays, hides, and customizes toolbarsPresent (limited)Yes, dialog-TOOLBARHYPHEN-TOOLBAR allows command-line toolbar show/hide; largely obsolete with the ribbon
TORUSCreates a donut-shaped solidPresentNoNoneYES
TRACECreates solid linesPresentNoNoneYES
TRANSPARENCYControls whether background pixels in an image are transparent or opaquePresentNoNoneYES
TREESTATDisplays information about the drawing's current spatial indexPresentNo, text outputNoneYES
TRIMTrims objects at a cutting edge defined by other objectsCHANGED 2021NoNoneYES2021+ changed the default behavior: all objects are selected as cutting edges by default. Still fully command-line; Hurricane compatible.
U
UReverses the most recent operationPresentNoNoneYESSingle-step undo
UCSManages user coordinate systemsPresentNo, promptsNoneYES
UCSICONControls the visibility and placement of the UCS iconPresentNoNoneYES
UCSMANManages defined user coordinate systemsPresentYes, dialogNoneNOUCS dialog; no hyphen variant. Use the UCS command for scripting.
UNDEFINEAllows an application-defined command to override an internal AutoCAD commandPresentNoNoneYES
UNDOReverses the effect of commandsPresentNoNoneYES
UNIONCreates a composite region or solid by additionPresentNoNoneYES
UNITSControls coordinate and angle display formats and determines precisionPresentYes, dialog-UNITSHYPHEN-UNITS allows command-line units configuration
V
VBAIDEDisplays the Visual Basic EditorREMOVED 2015n/aNoneREMOVEDVBA support removed from AutoCAD 2015. VBA requires a separate install and is discontinued.
VBALOADLoads a global VBA project into the current AutoCAD sessionREMOVED 2015n/aNoneREMOVEDSee VBAIDE note
VBAMANLoads, unloads, saves, creates, embeds, and extracts VBA projectsREMOVED 2015n/aNoneREMOVEDSee VBAIDE note
VBARUNRuns a VBA macroREMOVED 2015n/aNoneREMOVEDSee VBAIDE note
VBASTMTExecutes a VBA statement on the AutoCAD command lineREMOVED 2015n/aNoneREMOVEDSee VBAIDE note
VBAUNLOADUnloads a global VBA projectREMOVED 2015n/aNoneREMOVEDSee VBAIDE note
VIEWSaves and restores named viewsPresentYes, View Manager-VIEWHYPHEN-VIEW allows command-line view save and restore (e.g. -VIEW R MyViewName to restore)
VIEWRESSets the resolution for objects in the current viewportPresentNo, promptsNoneYES
VLISPDisplays the Visual LISP interactive development environment (IDE)PresentYes, IDE windowNoneNOOpens the VLISP IDE; interactive only
VPCLIPClips viewport objectsPresentNo, interactiveNoneYES
VPLAYERSets layer visibility within viewportsPresentNo, promptsNoneYES
VPOINTSets the viewing direction for a 3D visualization of the drawingPresent (legacy)NoNoneYESLargely superseded by ViewCube / 3DORBIT
VPORTSDivides the drawing area into multiple tiled or floating viewportsPresentYes, dialog-VPORTSHYPHEN-VPORTS allows command-line viewport creation
VSLIDEDisplays an image slide file in the current viewportPresent (legacy)File dialogNoneFILEDIA=0Slide files are largely obsolete
W
WBLOCKWrites objects or a block to a new drawing filePresentYes, dialog-WBLOCKHYPHEN-WBLOCK allows command-line block-to-file export; specify block name and filename
WEDGECreates a 3D solid with a sloped face tapering along the X axisPresentNoNoneYES
WHOHASDisplays ownership information for opened drawing filesPresentYes, info dialogNoneNOShows file lock info; dialog-based
WMFINImports a Windows metafilePresent (legacy)File dialogNoneFILEDIA=0
WMFOPTSSets options for WMFINPresent (legacy)Yes, dialogNoneNO
WMFOUTSaves objects to a Windows metafilePresent (legacy)File dialogNoneFILEDIA=0
X
XATTACHAttaches an external reference to the current drawingPresentYes, file attach dialogUse -XREF AHYPHENNo direct -XATTACH. Use -XREF with the A (Attach) option for command-line xref attachment.
XBINDBinds dependent symbols of an xref to a drawingPresentYes, dialog-XBINDHYPHEN-XBIND allows command-line xref symbol binding
XCLIPDefines an xref or block clipping boundaryPresentNo, interactiveNoneYESMay prompt for boundary type on the command line
XLINECreates an infinite linePresentNoNoneYES
XPLODEBreaks a compound object into its component objectsPresentNo, promptsNoneYESMore control than EXPLODE; allows attribute text and layer control
XREFControls external references to drawing filesCHANGEDYes, palette-XREFHYPHENMain XREF command opens the External References palette. -XREF provides command-line xref management (Attach, Detach, Reload, Bind, etc.), essential for scripts.
Z
ZOOMIncreases or decreases the apparent size of objects in the current viewportPresentNo, transparentNoneYESTransparent command ('ZOOM). Use ZOOM E (Extents) in scripts after drawing operations.
NEW COMMANDS: Added Since AutoCAD 2000
Key Hyphen Commands (Always Available)
-PURGEPurges all unused items without any dialog or confirmationPresentNoNoneYESCommand: -PURGE All * No Most used Hurricane batch command for drawing cleanup.
-LAYERFull layer management from the command linePresentNoNoneYESExamples: -LAYER S LayerName (set current) • -LAYER N LayerName (new layer) • -LAYER F LayerName (freeze)
-INSERTInserts a block without any dialogPresentNoNoneYESEssential for Hurricane block insertion. Specify block name, insertion point, X scale, Y scale, and rotation angle.
-HATCHApplies hatching from the command linePresentNoNoneYESSpecify pattern name, scale, and angle. Select objects or pick points.
-PLOTPlots or exports to PDF without the Plot dialogPresentNoNoneYESSpecify plotter, paper size, layout, and all other settings. Use Hurricane's Command Capture to record the exact prompt sequence.
-BLOCKCreates a block definition from the command linePresentNoNoneYESSpecify block name, base point, and select objects.
-RENAMERenames any named object from the command linePresentNoNoneYESExamples: -RENAME Layer OldName NewName • -RENAME Block OldName NewName
-ARRAYCommand-line array (replaces dialog added in 2012)Present (2012+)NoNoneYESRectangular, polar, or path array from the command line
-ATTEDITEdits attributes from the command linePresentNoNoneYESGlobal or individual attribute editing without dialog
-COLORSets the current color from the command linePresentNoNoneYESExamples: -COLOR 3 (green) • -COLOR Red • -COLOR BYLAYER
-DIMSTYLEDimension style management from the command linePresentNoNoneYESCreate, modify, and set current dimension style
-GROUPCreates or edits groups from the command linePresent (2012+)NoNoneYESReplaces dialog added in 2012
-LINETYPELoads and sets linetypes from the command linePresentNoNoneYESExamples: -LINETYPE Load HIDDEN acadiso.lin • -LINETYPE Set HIDDEN
-LWEIGHTSets lineweight from the command linePresentNoNoneYES
-MTEXTCreates multiline text from the command linePresentNoNoneYESAvoids the in-place text editor
-OSNAPSets object snap modes from the command linePresentNoNoneYESExample: -OSNAP End,Mid,Cen,Int,Per
-PAGESETUPManages page setups from the command linePresentNoNoneYES
-STYLECreates or modifies text styles from the command linePresentNoNoneYESSpecify style name, font, height, width factor, oblique angle
-UNITSConfigures drawing units from the command linePresentNoNoneYESSpecify unit type, precision, angle type, angle precision, direction
-VIEWSaves and restores named views from the command linePresentNoNoneYESExample: -VIEW R MyViewName (restore) • -VIEW S MyViewName (save)
-VPORTSCreates viewport configurations from the command linePresentNoNoneYES
-WBLOCKWrites a block to a file from the command linePresentNoNoneYESSpecify block name and output file path
-XBINDBinds xref symbols from the command linePresentNoNoneYES
-XREFFull xref management from the command linePresentNoNoneYESOptions: Attach, Detach, Reload, Unload, Bind, Path, List
Added 2001–2019 (Major Additions)
ETRANSMITCreates a transmittal package (eTransmit)Present (2001+)Yes, wizardNoneNOeTransmit wizard dialog
CHECKSTANDARDSChecks the drawing against CAD standards filesPresent (2004+)Yes, dialogNoneNOCAD Standards checking dialog
PUBLISHPublishes multiple drawing sheets to DWF, PDF, or printerPresent (2004+)Yes, dialog-PUBLISHHYPHENBatch publishing; -PUBLISH uses a DSD file for command-line publishing. Core of sheet-set publishing workflow.
REVCLOUDCreates a revision cloud polylinePresent (2004+)NoNoneYESMuch enhanced in 2020+ with REVCLOUDLAYER and REVCLOUDSCALEMODE system variables
TOOLPALETTESDisplays the Tool Palettes windowPresent (2004+)Opens paletteNoneNO
JOINJoins collinear lines, arcs, or splines into a single objectPresent (2006+)NoNoneYES
BEDITOpens the Block Editor for editing block definitionsPresent (2006+)Yes, editorNoneNOBlock Editor environment; interactive only
SWEEPCreates a 3D solid by sweeping a profile along a pathPresent (2007+)NoNoneYES
LOFTCreates a 3D solid by lofting between two or more cross-sectionsPresent (2007+)NoNoneYES
HELIXCreates a 2D spiral or 3D helixPresent (2007+)NoNoneYES
SECTIONPLANECreates a section plane object that intersects 3D objectsPresent (2007+)NoNoneYES
FLATSHOTCreates a flattened 2D representation of a 3D modelPresent (2007+)Yes, dialogNoneNOFlatshot dialog
EXTERNALREFERENCESOpens the External References palettePresent (2007+)Opens paletteNoneNOReplaces the old XREF dialog; use -XREF for command-line xref management
XOPENOpens a selected xref for editing in a new windowPresent (2007+)NoNoneYES
MLEADERCreates a multileader objectPresent (2008+)NoNoneYESPreferred replacement for LEADER and QLEADER
MLEADERSTYLECreates and modifies multileader stylesPresent (2008+)Yes, dialogNoneNOMultileader Style Manager dialog
DATAEXTRACTIONExtracts attribute and object data to a table or external filePresent (2008+)Yes, wizardNoneNOData Extraction wizard; replaces ATTEXT for modern workflows
RIBBONDisplays the ribbonPresent (2009+)NoNoneYES
RIBBONCLOSEHides the ribbonPresent (2009+)NoNoneYES
ACTRECORDStarts the Action Recorder to record a macroPresent (2009+)NoNoneYESRecords user actions as reusable macros
ACTSTOPStops recording an action macroPresent (2009+)NoNoneYES
MEASUREGEOMMeasures distances, radii, angles, areas, and volumesPresent (2010+)NoNoneYESEnhanced replacement for DIST and AREA commands
PDFATTACHAttaches a PDF file as an underlayPresent (2010+)Yes, dialogNoneNOPDF Attach dialog; similar to XATTACH
SELECTSIMILARSelects all objects similar to the currently selected objectPresent (2011+)NoNoneYES
SETBYLAYERChanges the properties of selected objects to ByLayerPresent (2011+)Partial dialogNoneYES
ISOLATEOBJECTSHides all objects except the selected objectsPresent (2012+)NoNoneYES
UNISOLATEOBJECTSRestores all objects hidden with ISOLATEOBJECTSPresent (2012+)NoNoneYES
TEXTALIGNAligns multiple text objects to each otherPresent (2018+)NoNoneYES
Added AutoCAD 2020
BLOCKSPALETTEOpens the Blocks palette for inserting blocksPresent (2020+)Opens paletteNoneNONew Blocks palette replaced the INSERT dialog. Use -INSERT or CLASSICINSERT for scripting.
BLOCKSPALETTECLOSECloses the Blocks palettePresent (2020+)NoNoneYES
CLASSICINSERTOpens the classic Insert dialog (pre-2020 style)Present (2020+)Yes, dialogNoneNORestores the AutoCAD 2019 INSERT dialog. Use -INSERT for scripting.
COMPARECLOSECloses the DWG Compare sessionPresent (2020+)NoNoneYES
COMPAREEXPORTExports DWG Compare results to a new drawingPresent (2020+)File dialogNoneNO
COMPAREIMPORTImports a drawing for DWG ComparePresent (2020+)File dialogNoneNO
COMPARETOGGLEREFERENCEToggles the display of the reference drawing in DWG ComparePresent (2020+)NoNoneYES
ERECEIVEReceives eTransmit packagesPresent (2020+)Yes, dialogNoneNO
Added AutoCAD 2024
ACTIVITYINSIGHTSOPENOpens the Activity Insights panel (drawing history)Present (2024+)Opens panelNoneNOShows who accessed and edited the drawing (Autodesk cloud feature)
ACTIVITYINSIGHTSCLOSECloses the Activity Insights panelPresent (2024+)NoNoneYES
BREPLACEReplaces all instances of one block with another blockPresent (2024+)Yes, dialog-BREPLACEHYPHEN-BREPLACE is the command-line version; useful for batch block replacement in Hurricane scripts
-BREPLACECommand-line block replacementPresent (2024+)NoNoneYESReplaces all instances of one block with another without any dialog
COPYFROMTRACECopies objects from a Trace into the current drawingPresent (2024+)NoNoneYES
PLACEBLOCKPlaces a Smart Block detected from drawing contextPresent (2024+)NoNoneYESAI-driven Smart Block placement
PMANALYZESTARTStarts Predictive Move analysisPresent (2024+)NoNoneYESAI feature for predicting object moves
PMANALYZESTOPStops Predictive Move analysisPresent (2024+)NoNoneYES
Added AutoCAD 2025
BCONVERTConverts selected objects into a block definitionPresent (2025+)Yes, dialog-BCONVERTHYPHENSmart Block conversion; use -BCONVERT for command-line scripting
-BCONVERTCommand-line version of BCONVERTPresent (2025+)NoNoneYESConverts selected objects into a block without a dialog
DETECTSmart Block detection, Tech Preview in 2025, renamed BDETECT in 2026Present (2025)Opens panelNoneNORenamed to BDETECT in AutoCAD 2026
DETECTCONVERTConverts detected Smart Block candidatesPresent (2025+)NoNoneYES
DETECTCLOSECloses the Smart Block detection panelPresent (2025+)NoNoneYES
Added AutoCAD 2026
BDETECTDisplays the Detect palette for Smart Block object detectionPresent (2026+)Opens paletteNoneNOReplaces and enhances the 2025 DETECT command
BSEARCHDisplays the Convert dialog to convert selected entities into blocksPresent (2026+)Yes, dialog-BSEARCHHYPHENSmart block conversion from selected geometry
-BSEARCHConverts selected entities into blocks from the command linePresent (2026+)NoNoneYES
EDITPRIMARYEdits the primary block definitionPresent (2026+)PartialNonePARTIAL
-FINDFinds and replaces text across a drawing from the command line, no dialogPresent (2026+)NoNoneYES★ Major addition for Hurricane users. -FIND allows text find and replace in scripts for the first time. Previous versions required the FIND dialog.
FINDINCLUDEIncludes objects in the Find/Replace scopePresent (2026+)NoNoneYES
FINDMATCHFinds objects matching the current Find criteriaPresent (2026+)NoNoneYES
IMAGEASYNCWAITWaits for background raster image loading to complete before proceedingPresent (2026+)NoNoneYESUseful in scripts that manipulate images immediately after opening a file

Key Scripting System Variables

These system variables can be set at the top of a Hurricane script to suppress dialogs in commands that don't have a hyphen variant:

Running the same commands on hundreds of drawings? Hurricane runs your script on every DWG in a folder, unattended. Download the free trial.

Most Important Hyphen Commands for Hurricane Scripts

Previous Back to Hurricane for Autodesk® AutoCAD® FAQ Next