GroupCommandInput.isEnabledCheckBoxDisplayed Property

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

Description

Gets or sets if this group has a check-box for enabling/disabling the group. If this is a sub-group of another group and the isEnabledCheckBoxDisplayed property is set to false then the isExpanded property must be set to true.

Syntax

"groupCommandInput_var" is a variable referencing a GroupCommandInput object.

# Get the value of the property.
propertyValue = groupCommandInput_var.isEnabledCheckBoxDisplayed

# Set the value of the property.
groupCommandInput_var.isEnabledCheckBoxDisplayed = propertyValue
"groupCommandInput_var" is a variable referencing a GroupCommandInput object.
#include <Core/UserInterface/GroupCommandInput.h>

// Get the value of the property.
boolean propertyValue = groupCommandInput_var->isEnabledCheckBoxDisplayed();

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

Property Value

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

Samples

Name Description
Command Inputs API Sample

Creates a command dialog that demonstrates all of the available command inputs.

To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is.

Version

Introduced in version July 2015