Grasshopper

algorithmic modeling for Rhino

Hi friends

I have an issue with timers. I am currently trying to use two timers that would control two components which are connected. First one is connected to a keyboard event handler component and would have to give me a boolean "true" variable when i press a key, so that the timer of the second component stops. When i press the key again, the second timer should continue ticking.

Thing is, if I don't connect the two components, both timers are independent, but when I connect the first component to the second one, the first timer overrides the second one, and the later is ignored by the component to which is connected. This second component runs with the first timer like this. So it's useless when I press the key.

What can I do with this? Because I need two timers. Do I have to set up two different threads? Is this even possible with GH_Timers?

Thank you

Views: 279

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2026   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service