Share

UserInterface.activeCommand Property

Parent Object: UserInterface
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/UserInterface.h>

Description

Gets the id of the command definition from the active command (the one that is currently running)

Syntax

"userInterface_var" is a variable referencing a UserInterface object.

# Get the value of the property.
propertyValue = userInterface_var.activeCommand

Property Value

This is a read only property whose value is a string.

Version

Introduced in version November 2015

Was this information helpful?