Default value when opening grasshopper file

I’m not sure if the feature is there, but I hope it is.

When I’m working on a grasshopper file I’m often working on a simulation in Ladybug/Honeybee etc. These require a boolean toggle set to true to run. Sometimes a calculation takes 45 minutes to an hour so if I save the file and forget to set to toggle to false the file start to run when opening it.

If there a way to set a default value to a parameter input when opening a file. In my example, set boolean toggle to false.

I hope someone has a clever solution for this

This script sets a list of named toggles to False when you open the Grasshopper document:


210202_FalseTogglesWhenOpen_00.gh (4.6 KB)

1 Like
1 Like

THANK YOU! this is exactly what I mean :slight_smile: