Internalize Timer in C# - Simple Counter

To avoid the conflict between multiple timers, I have reverted to an updated version of the Python counter I posted before.

counter_2020Mar4a
counter_2020Mar4a.gh (7.9 KB)

Just two little problems observed so far…

  1. If you close the model and reopen it without quitting Rhino, the timers restart with their “sticky” values instead of zero.
  2. If you close Rhino without closing the GH model first, the following error message appears, apparently because the timer makes Rhino believe the GH model has changed.

What a mess!