Command.parentCommandDefinition Property

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

Description

Gets the parent CommandDefinition object.

Syntax

"command_var" is a variable referencing a Command object.

# Get the value of the property.
propertyValue = command_var.parentCommandDefinition
"command_var" is a variable referencing a Command object.
#include <Core/UserInterface/Command.h>

// Get the value of the property.
Ptr<CommandDefinition> propertyValue = command_var->parentCommandDefinition();

Property Value

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

Version

Introduced in version August 2014