The insertedFromURL event fires after the user has clicked a link in a web page that uses the Fusion protocol handler to insert a file as new component and that operation has completed.
-------- 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 MyInsertedFromURLEventHandler : public adsk::core::WebRequestEventHandler { public: void notify(const Ptr<WebRequestEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyInsertedFromURLEventHandler event handler."); } } _insertedFromURL; --------- Connect the handler to the event. ---------
|