CommandInput.parentCommandInput Property

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

Description

Gets the parent CommandInput if this commandInput is the child of a TabCommandInput or GroupCommandInput. Returns null if there is no parent.

Syntax

"commandInput_var" is a variable referencing a CommandInput object.

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

// Get the value of the property.
Ptr<CommandInput> propertyValue = commandInput_var->parentCommandInput();

Property Value

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

Version

Introduced in version July 2015