This is good enough as there’s no other way.
Any idea how to translate this to Python?
This is as far as I’ve gotten:
RedMsh.gh (13.2 KB)
With a lot of pain I figured out how to define this cancellation token, still don’t know what that is for, though. Crazy programmers’ lingo
2nd question: I assume this progress data can be used with other functions, do I have to look for CancellationToken and IProgress in the API to find where I can use it?
This is really bad news. I opened a thread at the end of last week about performance/stability issues. Unfortunately noone answered, not even to say my question was stupid . I was trying to array big structure to see the performance of Rhino6 with large models. Rhino sucked so much ram that I wasn’t able to move the mouse, let alone to kill it. When I did manage to kill it, ram didn’t empty fast enough and Windows was still a pain to work with. There has to be some way if Rhino or GH are overloaded not to take over all the ram so that Windows still runs smoothly. Instead of just Rhino+GH to get non-responsive the whole system does.
I think all other apps dealing with large load pop up a progress bar as another process. I don’t want calculations when the process will finish, that is almost never true. All I wish for is to see something is working, so I know I should not rush for killing the process.