This event is fired when the JavaScript associated with the HTML calls the adsk.fusionSendData function. This allows the HTML to communicate with the add-in by passing information to the add-in.
-------- 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 MyIncomingFromHTMLEventHandler : public adsk::core::HTMLEventHandler { public: void notify(const Ptr<HTMLEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyIncomingFromHTMLEventHandler event handler."); } } _incomingFromHTML; --------- Connect the handler to the event. ---------
|