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.

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.