ApplicationCommandEventArgs.commandDefinition Property

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

Description

Returns the CommandDefinition object for the command the event is being fired for.

Syntax

"applicationCommandEventArgs_var" is a variable referencing an ApplicationCommandEventArgs object.

# Get the value of the property.
propertyValue = applicationCommandEventArgs_var.commandDefinition
"applicationCommandEventArgs_var" is a variable referencing an ApplicationCommandEventArgs object.
#include <Core/UserInterface/ApplicationCommandEventArgs.h>

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

Property Value

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

Version

Introduced in version November 2015