Automatically 'save as' Dynamo scripts

Hi all,

Just wondering if there would be any way that I could set a periodic ‘save as’ for the Dynamo file (.dyn), as my script usually collapses, losing the work I haven´t saved since the last time.
Any help is more than appreciated.

Best Regards,
CO

dynamo does an auto backup already, if you click here it will take you to this directory and you will see the files it saves automatically.

2 Likes

Hi John,
Many thanks for the quick response.
Is it possible to know how often it is currently backup? and setting this current period?
Thanks again.

Best Regards,
CO

Yep! DynamoSettings.xml has this information. (stored in milliseconds I believe)

image

DynamoSettings.xml is typically in a location that looks like this: C:\Users\USERNAME\AppData\Roaming\Dynamo\Dynamo Revit\2.10\DynamoSettings.xml

3 Likes

You can also check on the last backup’s location by checking the console (open it with ctrl+shift+ :arrow_up:):

3 Likes