Overview

← Prev | ↑ Chapter | Next → | Index | Symbols

Overview

A command is a named operation of the host CAD engine, invoked interactively at the command prompt or programmatically from AutoLISP via command, command-s, and vl-cmdf. Commands are a namespace distinct from both AutoLISP functions and system variables: they are addressed by a (localisable) name, they consume an option-keyword grammar and a positional input sequence rather than a Lisp lambda list, and their availability is often package- or version-specific.

This chapter enumerates the commands of AutoCAD 2026 ENU and BricsCAD V25 that clautolisp specifies, with the fields harvested by the inventory pass (see autolisp-spec/documentation/commands-inventory.sexp). It is being populated incrementally, starting from the core draw / modify / view / file / customization / block commands; package-specialised commands are classified but not necessarily implemented (see the Category and clautolisp rows of each entry).

Invocation and the input sequence

(command "NAME" arg …) drives the command NAME with each subsequent argument delivered as one command-line input in turn. The empty string "" is the RETURN token (accept a default / end an unbounded input), and the one-backslash string "\\" is the PAUSE token (yield to interactive input). command-s is the AutoCAD 2018+ "safe" form that must run a complete command in one call; vl-cmdf is the error-trapping variant. An entry's Argument Sequence row describes the inputs a typical (command "NAME" …) call supplies.

Option keywords

Where a command prompts with bracketed keywords (e.g. LINE's [Close/Undo]), those keywords are its options. Each entry's Options row lists the international option keywords; the localised spellings and their per-locale abbreviations live in the cadtui locale dictionaries (option-keyword category), not here.