The problem is I want the event handler to only run after all modifications have concluded
Right now if I select 5 objects and change their display color together, my event handler is called 5 times
you could set a “flag variable” to True in your “modifyObjectAttribute” handler. Then, being subscribed to “Rhino.RhinoApp.Idle” event, check if you flag is to true, and perform here your desired action.
this has been talked in other post, even with examples, I guess. I suggest you to look for them if my explanation was not clear enough.