Hi everyone,
I am trying to make my script user friendly. So I would like to know If there is a way to automatically run a GhPython component when the inputs change. Recomputing the whole canvas doesn’t work. Images below:
If I hit the toggle button I stream into the component another list:
The script inside the component actually works for the new list, but I have to manually open the component and hit the OK button to make it work again:
And everything goes back to normal:
Is there a way to go from image 1 to 4 without having to open the component and click on the OK button? I tried to force expire the GhPython component with Metahopper ‘Expire Object’, but it seems that this has nothing to do with the ‘expired’ property and recomputing components.