Is there a way to subscribe to RhinoObject
deleted event? I noticed this method in the API:
https://apidocs.co/apps/rhinocommon/6/M_Rhino_DocObjects_RhinoObject_OnDeleteFromDocument.htm
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?
Cheers!
-K
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.