Sometimes it seems the python component doesn’t update at all. In most case, the component works properly, but sometimes it works very oddly.
Here is the case :
In Grasshopper Python Script Editor, I wrote a code, and test it and it returned error like below:
Runtime error (IndexOutOfRangeException): index out of range: 66
line 42, in script
line 73, in jigsaw, “”
Then I deleted the lines, for instance, every line below line 42, but it still returned same error even if lines didn’t exist anymore. I guessed the code line still existed in memory.
So I tried to clear all data(grasshopper menu>solution>clear), but it didn’t improve.
Whenever this problem happens, I simply exit Rhino and Grasshopper and run again. I guess there should be a better way to deal with this problem. Is there any way to update the code immediately when this problem happens?