ValueCommandInput.parentCommand Property

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

Description

Gets the parent Command.

Syntax

"valueCommandInput_var" is a variable referencing a ValueCommandInput object.

# Get the value of the property.
propertyValue = valueCommandInput_var.parentCommand
"valueCommandInput_var" is a variable referencing a ValueCommandInput object.
#include <Core/UserInterface/ValueCommandInput.h>

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

Property Value

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

Version

Introduced in version June 2015