DynamoWishlist icon indicating copy to clipboard operation
DynamoWishlist copied to clipboard

Automatic dynamo script embedded in a Revit project with an event trigger

Open Thomas84 opened this issue 4 years ago • 0 comments

What improvement/feature would you like to see in Dynamo?

I like to have a functionality in Revit to embed a script into a Revit template / project, which is connected to a specific event in Revit. The user should be able to easily define which events are relevant to a script. There should be two modes: An automatic mode where the script gets executed as soon as the event is triggered. And the second mode should be a semi automatic mode, where triggered events are just highlighting the scripts, and put them in a queue to run them manually at a later point in time.

For example:

  • If someone changes a element of a specific category, a parameter defined in the script gets refreshed, with a value calculated by the script. That means the event has to pass the element id to Dynamo, Dynamo do its algorithm and refreshes the element in Revit
  • If someone opens a specific schedule, a Dynamo script gets executed to refresh specific parameters
  • If someone uses a specific tool, a Dynamo script gets executed (for exemple to refesh parameters or QA before printing)
  • If someone starts Revit, a Dynamo script gets executed (for example to rename the registers)
  • If someone uses a specific keyboard shortcut, a specific dynamo script gets executed (for example a specific family gets selected for placement)

How would you see this improvement/feature working?

There should be an "automatic player" which listen to events and if a event is triggered the script should run automatically. There should be a option to disable/pause a automatic script.

Thomas84 avatar Sep 11 '20 21:09 Thomas84