I’m hoping to leverage Visual Arq parameters in a visualization extension that I’m building. The general premise is to be able to create a color scheme based upon the value of a parameter. The initial set up was straight forward to create, setting and reading parameters and changing an object’s display color accordingly was straight forward. Where I’m getting stuck is determining a good solution for keeping object colors up-to-date as parameter values change.
My original thought was to subscribe to the OnModifyObjectAttributes RhinoCommon event. But modifying parameters doesn’t cause that to fire. By leveraging the RhinoCommon even watcher sample I was able to see that the only even that gets fired when a parameter is changed is the undo/redo event. Subscribing to that event is a really undesirable option. Is there another option for monitoring the status of VisualArq parameters?