SetupEvent.add Method

Parent Object: SetupEvent
Defined in namespace "adsk::cam" and the header file is <Cam/CAM/SetupEvent.h>

Description

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

Syntax

"setupEvent_var" is a variable referencing a SetupEvent object.
returnValue = setupEvent_var.add(handler)
"setupEvent_var" is a variable referencing a SetupEvent object.

#include <Cam/CAM/SetupEvent.h>

returnValue = setupEvent_var->add(handler);

Return Value

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

Parameters

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

Version

Introduced in version April 2023