CommandEvent.name Property

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

Description

The name of the event - e.g. "DocumentOpening"

Syntax

"commandEvent_var" is a variable referencing a CommandEvent object.

# Get the value of the property.
propertyValue = commandEvent_var.name
"commandEvent_var" is a variable referencing a CommandEvent object.
#include <Core/UserInterface/CommandEvent.h>

// Get the value of the property.
string propertyValue = commandEvent_var->name();

Property Value

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

Version

Introduced in version August 2014