Dynamo API rises event when script is done

We are looking for solution of Dynamo API issue we are struggling with. Is there any Dynamo API functionality which rises event when Dynamo script is done?

To demonstrate what we are trying achive see below:

  1. User run the script
  2. Script process data and gives a result
  3. When Script is done “On script end” event is risen

We are looking for event or any other solution which allows us to save progress of work on external program when script have done the job. We currently use inheritance from disposable object but dispose function rises only when dynamo application is closed which does not suits our needs.

1 Like

Hello Michal,

Do you mean something like this: