DocumentEvent.sender Property

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

Description

The object that is firing the event. For example, in the case of a command input event this will return the command.

Syntax

"documentEvent_var" is a variable referencing a DocumentEvent object.

# Get the value of the property.
propertyValue = documentEvent_var.sender
"documentEvent_var" is a variable referencing a DocumentEvent object.
#include <Core/Application/DocumentEvent.h>

// Get the value of the property.
Ptr<Base> propertyValue = documentEvent_var->sender();

Property Value

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

Version

Introduced in version August 2014