I made command that works in the loop - finds and unrolls the largest surface within each polysurface, but the command sometimes hangs ( rhino becomes non-responsive ) during the process.
I can “catch” the error when unroll method fails but how to catch it when it hangs
Idea is to give it ~10 sec time to do it and terminate it if it does not finish (success or fail) in that period, and go to the next polysurface
At the moment I work in python but I plan to move to VB Rhinocommon anythow so any idea/solution is welcome
Thanks in advance