how to do frequent on/off in grasshopper every 2 seconds?
On/off? You’re looking to run a particular file every two seconds, each time with a different boolean value?
yes. exactly…
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)
Thank you Anders and David very much… I also found something by using scripting c#, but it needs a specific script.