Grasshopper

algorithmic modeling for Rhino

'Synchronize' (how to selectively trigger output of script component)

Hi All

I am looking for a way to recreate something similar to the synchronize feature of a 'file path component'. But in my case I am interested in changes within a variable I store using scriptcontext.sticky

 

I recon it might be done by attaching a timer to the script component and then somehow disabling the output until a change occurs... otherwise it keeps on unnecessarily triggering everything else. (Would also be nice without the timer, seems a bit clumsy)

Anyway, it might look somewhat like the image below, where the idea would be that the 'a' output of the 'Python A' component, does not trigger 'Python B' every time the timer fires. Rather, a is triggered when some condition is met.

 

 

Views: 829

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service