The SetupChanged event fires when a setup is modified.
-------- Import ---------
-------- Global variables ---------
-------- Connect the handler to the event. ---------
-------- Event handler function definition ---------
|
-------- Global variables ---------
-------- Connect the handler to the event. ---------
-------- Event handler class definition ---------
|
--------- Required include files. ---------
--------- Event handler class definition and global declaration. ---------
class MySetupChangedEventHandler : public adsk::cam::SetupChangeEventHandler { public: void notify(const Ptr<SetupChangeEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MySetupChangedEventHandler event handler."); } } _setupChanged; --------- Connect the handler to the event. ---------
|