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?
Not exactly ideal, but it does the job: 2 second flicker.gh (13.9 KB)
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.