SetupChangeEvent.add Method

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

Description

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

Syntax

"setupChangeEvent_var" is a variable referencing a SetupChangeEvent object.
returnValue = setupChangeEvent_var.add(handler)
"setupChangeEvent_var" is a variable referencing a SetupChangeEvent object.

#include <Cam/CAM/SetupChangeEvent.h>

returnValue = setupChangeEvent_var->add(handler);

Return Value

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

Parameters

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

Version

Introduced in version April 2023