TriadCommandInput.parentCommand Property

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

Description

Gets the parent Command.

Syntax

"triadCommandInput_var" is a variable referencing a TriadCommandInput object.

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

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

Property Value

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

Version

Introduced in version May 2022