Events_T_Rhino_RhinoDoc - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoDoc Events

The RhinoDoc type exposes the following members.

Events

 

Name Description
Public eventStatic member ActiveDocumentChanged This event is raised when the active document used by modeless user interface changes. On Mac Rhino this will get raised before the NewDocument, BeginOpenDocument and EndOpenDocument events. Mac Rhino will also raise this event with 0 for the document Id and a null document pointer when the last document is closed. Windows Rhino will raise this event after the NewDocument, BeginOpenDocument and EndOpenDocument events when a new or existing model is opened.
Public eventStatic member AddRhinoObject Called if a new object is added to the document.
Public eventStatic memberCode example BeforeTransformObjects Called before objects are being transformed
Public eventStatic member BeginOpenDocument
Public eventStatic member BeginSaveDocument
Public eventStatic member CloseDocument
Public eventStatic member DeleteRhinoObject Called if an object is deleted. At some later point the object can be un-deleted.
Public eventStatic member DeselectAllObjects Called when all objects are deselected.
Public eventStatic member DeselectObjects Called when object(s) are deselected.
Public eventStatic member DocumentPropertiesChanged
Public eventStatic member EndOpenDocument
Public eventStatic member EndSaveDocument
Public eventStatic member GroupTableEvent Called when any modification happens to a document's group table.
Public eventStatic member InstanceDefinitionTableEvent Called when any modification happens to a document's light table.
Public eventStatic member LayerTableEvent Called when any modification happens to a document's layer table.
Public eventStatic member LightTableEvent Called when any modification happens to a document's light table.
Public eventStatic member MaterialTableEvent Called when any modification happens to a document's material table.
Public eventStatic member ModifyObjectAttributes Called when all object attributes are changed.
Public eventStatic member NewDocument
Public eventStatic member PurgeRhinoObject Called if an object is being purged from a document. The object will cease to exist forever.
Public eventStatic member ReplaceRhinoObject Called if an object is about to be replaced. If both RhinoDoc.UndoActive() and RhinoDoc.RedoActive() return false, then immediately after the ReplaceObject event, there will be a DeleteObject event followed by an AddObject event. If either RhinoDoc.UndoActive() or RhinoDoc::RedoActive() return true, then immediately after the ReplaceObject event, there will be a DeleteObject event followed by an UndeleteObject event.
Public eventStatic member SelectObjects Called when object(s) are selected.
Public eventStatic member TextureMappingEvent Called when any modification happens to a document objects texture mapping.
Public eventStatic member UndeleteRhinoObject Called if an object is un-deleted.
  Back to Top

See Also

Reference

RhinoDoc Class
Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️