Animation in dynamo python

Hi. Is it possible to create animation using python in dynamo? The challenge is to change some parameter by updating it over time. So far I’ve tried using the datetime module. But this causes the Revit window to freeze.

It is possible in sandbox as you can set the graph to run in periodic mode. I’m not sure about periodic runs with python (outside of sandbox) but I would assume it’s the same scenario as the python node will only run when the graph updates.

1 Like

This is doable, but the runtime will need to be taken into account. The total graph execution time would want to be a second or so less than the worst case senator for executing the graph, and that time would likely want to include the exporting the frame.

Generally I recommend bringing the objects into Dynamo once, and manipulating them there instead of in Revit.