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
"userInterface_var" is a variable referencing a UserInterface object.
#include <Core/UserInterface/UserInterface.h>

// Get the value of the property.
string propertyValue = userInterface_var->activeCommand();

Property Value

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

Version

Introduced in version November 2015