MFGDMDataEvent.add Method

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

Description

Add a handler to be notified when the data event occurs.

Syntax

"mFGDMDataEvent_var" is a variable referencing a MFGDMDataEvent object.
returnValue = mFGDMDataEvent_var.add(handler)
"mFGDMDataEvent_var" is a variable referencing a MFGDMDataEvent object.

#include <Core/Application/MFGDMDataEvent.h>

returnValue = mFGDMDataEvent_var->add(handler);

Return Value

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

Parameters

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

Version

Introduced in version July 2025