algorithmic 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
CALCULATE SMTH
End If
else
CLEAR DATA
Print("END")
End If
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)???
Tags:
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
http://www.grasshopper3d.com/forum/topics/how-to-stop-the-timer-com...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by