RhinoObject deleted event

Is there a way to subscribe to RhinoObject deleted event? I noticed this method in the API:


Obviously its private and protected, but is there a different way that is publicly available? I don’t see anything on the ObjectTable. Can someone point me in the right direction?



Ps. Digging a little deeper, I noticed the RhinoDoc event DeleteRhinoObject. Is that the event that is recommended to be used here?
Ps2. That seems to be doing the job.

For future reference, you can use this sample, found in our developer samples repo.

– Dale

1 Like