Function Entry: VL-CMDF

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

Function Entry: VL-CMDF

Name

vl-cmdf

Class

Visual LISP Command Function

Syntax

(vl-cmdf [argument ...])

Arguments and Values

  • argument — strings, reals, integers, lists/points, or entity names, as required by the target command prompt sequence.

Description

Executes an AutoCAD command.

Return Values

Always returns T.

Side Effects

Invokes command processing.

Compatibility

Part of the Visual LISP command layer and related to command and command-s.

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 that vl-cmdf evaluates all arguments before command execution begins.
  • Autodesk contrasts this with command, which may partially execute before an argument-evaluation error is detected.
  • Autodesk documents that an empty string is equivalent to pressing Enter, and a no-argument call is equivalent to pressing Esc for most commands.

Compatibility

Supported on Windows, macOS, and Web in current Autodesk documentation.