CMDACTIVE (System Variable)

Indicates whether an ordinary command, transparent command, script, or dialog box is active.

(Read-only)
Type:Integer
Saved in:Not-saved
Initial value:Varies

The setting is stored as a bitcode using the sum of the following values:

0

No active command

1

Ordinary command is active

2

Transparent command is active

4

Script is active

8

Dialog box is active

16

DDE is active

32

AutoLISP is active (only visible to an ObjectARX -defined command)

64

ObjectARX command is active