The only safe way to Update Sliders in GhPython

Scheduling a solution after a previous one is finished is OK.

In the trigger, before solving, you can make any changes that are required. You can use this method to achieve this:

Example:
GrasshopperDocument.ScheduleSolution(someCallback)

someCallback can change values of sliders. Here is an example>

Note that this method does not modify the current iteration.

1 Like