generative modeling for Rhino
I have a script which after some iteration has to stop. I did it that way:
If run = True then
If desiredIteration > counter then
But after desired iteration, timer still runs and executes the script so its hard to do anything (cause last iteration which is already calculated, seems to be calculated over and over again(?), making GH to "freeze" for a while (time in which last iteration was calculated))
How to make script to "turn off" after calculating desired iteration (without changing "run" boolean input)???
It seems that every timer tick script assigns to "A" output a calculated structure (A= something). This structure is quite big (about 100 000 lines) so it takes some time to run. How to avoid that ?
Found a workaround solution : stop the timer after last iteration :D