Hi all, how to do frequent on/off in grasshopper every 2 seconds?


(Poiak3) #1

how to do frequent on/off in grasshopper every 2 seconds?


(David Rutten) #2

On/off? You’re looking to run a particular file every two seconds, each time with a different boolean value?


(Poiak3) #3

yes. exactly…


(David Rutten) #4

Not exactly ideal, but it does the job: 2 second flicker.gh (13.9 KB)


#5

This might also work for you:

Edit: here’s a simpler version that I think does what you’re looking for:

190314_GHPy_Timer_Boolean_Flipper.gh (5.3 KB)


(Poiak3) #6

Thank you Anders and David very much… I also found something by using scripting c#, but it needs a specific script.