Add a handler to be notified when the data event occurs.
"dataEvent_var" is a variable referencing a DataEvent object. |
"dataEvent_var" is a variable referencing a DataEvent object. |
| Type | Description |
| boolean | Returns true if the addition of the handler was successful. |
| Name | Type | Description |
| handler | DataEventHandler | The handler object to be called when this event is fired. |
| 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. |