I built a small interface with RCP, but GRASSHOPPER slows rhino down a lot, So I think of a button that executes RunPythonScript(…) that locks/unlocks the solver.
I believe the script will somehow look like this:
if IsSolverEnabled():
DisableSolver()
else:
EnableSolver()
I already found the DisableSolver method here:
How do I call this inside the python script? I don’t get the right import…