CommandEventArgs.executeFailed Property

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

Description

Used during the execute event to get or set that the execute operations failed and the commands transaction should be aborted. This property should be ignored for all events besides the Execute event.

Syntax

"commandEventArgs_var" is a variable referencing a CommandEventArgs object.

# Get the value of the property.
propertyValue = commandEventArgs_var.executeFailed

# Set the value of the property.
commandEventArgs_var.executeFailed = propertyValue
"commandEventArgs_var" is a variable referencing a CommandEventArgs object.
#include <Core/UserInterface/CommandEventArgs.h>

// Get the value of the property.
boolean propertyValue = commandEventArgs_var->executeFailed();

// Set the value of the property, where value_var is a boolean.
bool returnValue = commandEventArgs_var->executeFailed(value_var);

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version August 2014