SelectionCommandInput.parentCommandInput Property

Parent Object: SelectionCommandInput

Description

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

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

Syntax

"selectionCommandInput_var" is a variable referencing a SelectionCommandInput object.

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

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

Property Value

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

Version

Introduced in version July 2015