CommandInput.isEnabled Property

Parent Object: CommandInput

Description

Gets or sets if this input is currently enabled or disabled for user interaction.

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

Syntax

"commandInput_var" is a variable referencing a CommandInput object.

# Get the value of the property.
propertyValue = commandInput_var.isEnabled

# Set the value of the property.
commandInput_var.isEnabled = propertyValue
"commandInput_var" is a variable referencing a CommandInput object.
#include <Core/UserInterface/CommandInput.h>

// Get the value of the property.
boolean propertyValue = commandInput_var->isEnabled();

// Set the value of the property, where value_var is a boolean.
bool returnValue = commandInput_var->isEnabled(value_var);

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version August 2014