CMDNAMES (System Variable)

Displays the names of the active and transparent commands.

(Read-only)
Type:String
Saved in:Not-saved
Initial value:""

For example, LINE'ZOOM indicates that the ZOOM command is being used transparently during the LINE command.

This variable is designed for use with programming interfaces such as AutoLISP, ActiveX Automation, and DIESEL.

Note: ActiveX Automation is not available in AutoCAD LT.

The following is a simple example that demonstrates how to use DIESEL to display the current command at the status line.

Command: modemacro

New value for MODEMACRO, or . for none <"">: $(getvar, cmdnames)