i could use some help / advice wioth the following. I am attempting to save my scene with normal map using ‘_TestShowNormalMap’. but the Grasshopper canvas still freezes after running this code (cannot pan anaymore) and need to restart rhino.
You are using a button.
Button component in grasshopper actually triggers a new “expiration wave” twice!
You press it, “true” value.
You release it, “false” value.
The only hint I can tell is that if you press and release the button quickly, maybe you are expiring your c# component while it is still executing his code, with Rhino.Wait and stuff…
You should store the pressed boolean state as internal value and make your component to execute only at release (when the value switch from true to false).
On my Rhino 8 grasshopper canvas is not freezing when using your script.
How many and which plugin do you currently have installed?