Function Entry: COMMAND-S
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: COMMAND-S
Name
command-s
Class
Special command-interaction function
Syntax
(command-s [argument ...])
Autodesk documents the first argument as the command name:
(command-s [cmdname [arguments ...]])
Description
Executes an AutoCAD command and the supplied input.
Return Values
Returns nil when the command finishes successfully on the supplied arguments.
Side Effects
Invokes command processing and may modify the drawing, command stack, and UI state.
Compatibility
Closely related to command, but documented separately by Autodesk. Precise sequencing differences should be treated as host-significant.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [command-s (AutoLISP)](https://help.autodesk.com/cloudhelp/2022/ENU/AutoCAD-AutoLISP-Reference/files/GUID-5C9DC003-3DD2-4770-95E7-7E19A4EE19A1.htm)
- [About Using AutoCAD Commands (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/JPN/AutoCAD-AutoLISP/files/GUID-75F19C76-78D0-443B-BC39-EB9FEB4650B1.htm)
Notes
- Autodesk documents command arguments as strings, reals, integers, and lists/points matching the command prompt sequence.
- Autodesk documents that an empty string is equivalent to pressing Enter.
- Autodesk documents that failure to complete successfully is reported through
*error*.
Compatibility
Supported on Windows and macOS in current Autodesk documentation.