C++ rhino plugin timer

Hi,

Is there a sample code in C++ how to implement timer in rhino plugin (to re-run a function live until some boolean condition is met) let say to move one point linearly?

Hi @Petras,

I’m confused. What are you trying to do and why? And what problem are you trying to solve?

– Dale

I am searching for a method similar to timer in grasshopper but for rhino plugin.

The template project runs the function once the command name is called.

But how to run command several times with delay of time.

For example what would be an approach to move one point 10 times to the left by 4.567 units with delay of 20 ms in each step ?

How about RhinoApp().Wait(20)?