Triggered event when object geometry changes

Hello everyone)) I ran into one small problem. I need to do something with the object in the scene every time the object’s geometry changes. I was looking for a suitable event here - https://developer.rhino3d.com/api/RhinoCommon/html/Events_T_Rhino_RhinoDoc.htm, but unfortunately I didn’t find anything that worked for me. If anyone has any ideas on this, I will be very grateful))

-Dmitriy

You need the ReplaceRhinoObject event. Be sure to read the documentation for it, as it will tell you how tracking of object changes works. In short, on geometry change you’ll get an ReplaceRhinoObject event followed by DeleteRhinoObject event followed by AddRhinoObject event.

1 Like