I’m looking for some classes or objects in RhinoCommon to work like old MRhinoEventWatcher class, but I can´t…
I need the old watcher functionalities to control my Plugins events, OnCloseDocument, OnReplaceObject, OnDeleteObject, etc…
Thank in advance.
You will find events for objects and document as static events on RhinoDoc:
RhinoDoc.CloseDocument += OnCloseDocument;
void OnCloseDocument(object sender, DocumentEventArgs args)
// handle the document closing event here
Ok, I’m going to test this solution.