E_Rhino_RhinoDoc_ActiveDocumentChanged - mcneel/rhinocommon-api-docs GitHub Wiki
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.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static event EventHandler<DocumentEventArgs> ActiveDocumentChanged
VB
Public Shared Event ActiveDocumentChanged As EventHandler(Of DocumentEventArgs)
Type: System.EventHandler(DocumentEventArgs)
Supported in: 5D58w