This function is retired. See more information in the 'Remarks' section below.
Provides a notification when the mouse passes over an entity allowing you to determine if the entity should be available for selection or not.
-------- 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 MySelectionEventEventHandler : public adsk::core::SelectionEventHandler { public: void notify(const Ptr<SelectionEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MySelectionEventEventHandler event handler."); } } _selectionEvent; --------- Connect the handler to the event. ---------
|