Information being passed to the add-in in the primary thread from the worker thread or other add-in.
"customEventArgs_var" is a variable referencing a CustomEventArgs object.
|
"customEventArgs_var" is a variable referencing a CustomEventArgs object.
|
Name | Description |
Custom Event for Command Dialog | Demonstrates using a custom event to process getting information in the background to display in a command dialog. This is an add-in and should be copied and pasted into an add-in project. |
Custom Event Sample | Demonstrates the ability to call into the main thread from a worker thread. This sample is an add-in. To use it, use the Scripts and Add-Ins command to create a new add-in. Delete all of the code in the newly created add-in and replace it with the code below. Have a model open that has a parameter named "Length". Load the add-in. The add-in will change the value of the parameter every two seconds using a random value between 1 and 10. |