[Question] How to disable Grasshopper Solver by default?

Hi everyone,

I have some Grasshopper scripts that are very compute-intensive. It takes the solver maybe 30 seconds to a couple of minutes to complete. This is annoying when I forget to disable the Solver before loading those Grasshopper scripts. Instead of opening files and getting down to work, I’m forced to wait several minutes while my computer bogs down with heavy calculations.

Also, there doesn’t seem to be a way to stop the Grasshopper calculation mid-stream, because the Grasshopper and Rhino windows stop responding (“Not Responding” is in the title bars)?

Is there a way to get Grasshopper to have the Solver disabled when it first launches? Then, even if I forget to disable the solver, it would already be disabled when I open my files, and I could start the Solver manually with Recompute.

–Anthony K. Yan


You could change your Grasshopper button command to :

! _Grasshopper
_-RunPythonScript (
import Grasshopper
Grasshopper.Kernel.GH_Document.EnableSolutions=False )

@pascal, could this be added as right mouse button default behaviour?

1 Like