Grasshopper

algorithmic modeling for Rhino

Is there an event which is raised whenever input (in my case) value is changed ? There is one called "ParametersChanged" and "ParametersSourcesChanged" but they seem to be raised only when I connect or disconnect a component.

Views: 400

Replies to This Discussion

Ok, so just here is one solution as suggested in http://www.grasshopper3d.com/forum/topics/event-to-detect-input-par... .

In my component I resolved it by subscribing to expiresolution event. The sub which takes care of it, looks for parameters sources, and checks their state. You can read more about in the link above.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service