ActiveSelectionEvent.add Method

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

Description

Add a handler to be notified when the event occurs.

Syntax

"activeSelectionEvent_var" is a variable referencing an ActiveSelectionEvent object.
returnValue = activeSelectionEvent_var.add(handler)
"activeSelectionEvent_var" is a variable referencing an ActiveSelectionEvent object.

#include <Core/UserInterface/ActiveSelectionEvent.h>

returnValue = activeSelectionEvent_var->add(handler);

Return Value

Type Description
boolean Returns true if the addition of the handler was successful.

Parameters

Name Type Description
handler ActiveSelectionEventHandler The handler object to be called when this event is fired.

Version

Introduced in version August 2020