CommandInput.parentCommand Property

Parent Object: CommandInput

Description

Gets the parent Command.

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.parentCommand
"commandInput_var" is a variable referencing a CommandInput object.
#include <Core/UserInterface/CommandInput.h>

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

Property Value

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

Version

Introduced in version June 2015