algorithmic modeling for Rhino
Hi,
I hoping to get some insight as to how can I run the timer component based on an user event (button pressed, boolean, etc) or if there is a similar component to timer that will make other components fire at a specific time/event.
I currently have the UDP sender(gHowl node) broadcasting messages at a set intervals set in the timer component, however it would be best if I could only broadcast when the user has change something in the model rather then send it all the time.
Is this something possible?
Thank you
G
Tags:
It's possible, certainly, but any specific code would really depend on the sort of change you wish to respond to. Can you narrow it down to one specific example?
Another example could be that the UDP component only runs when the geometry has changed or modified.
I would really appreciate your help.
Thanks
Here's a simple script for toggling the "Locked" flag on all timers on the canvas (which will enable/disable the timers updating using a Boolean toggle). Might help..
Thank you Anders for taking the time to share this.
I will try your definition and share the results
Here we go...
Let me know if its useful...
Category: "Params" -> "Util"
NOTE: The Timer has to be connected to the component to work...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by