The dataFileComplete event fires when a data file upload has completed including any cloud side translations.
-------- 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 MyDataFileCompleteEventHandler : public adsk::core::DataEventHandler { public: void notify(const Ptr<DataEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyDataFileCompleteEventHandler event handler."); } } _dataFileComplete; --------- Connect the handler to the event. ---------
|
Name | Description |
Save and Insert File API Sample | Demonstrates creating save a new file and then inserting it into a design. To use this sample, have a design open that has been saved and run the script. It will create a new design that contains a cylinder, save it to the same folder the active design was saved to, and then insert it into the active design. |