GroupCommandInput.children Property

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

Description

Gets the CommandInputs collection for this GroupCommandInput. Use the add methods on this collection to add child CommandInputs to this Group in the desired order.

Syntax

"groupCommandInput_var" is a variable referencing a GroupCommandInput object.

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

// Get the value of the property.
Ptr<CommandInputs> propertyValue = groupCommandInput_var->children();

Property Value

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

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