E_Rhino_RhinoDoc_ActiveDocumentChanged - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoDoc.ActiveDocumentChanged Event

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

Syntax

C#

public static event EventHandler<DocumentEventArgs> ActiveDocumentChanged

VB

Public Shared Event ActiveDocumentChanged As EventHandler(Of DocumentEventArgs)

Value

Type: System.EventHandler(DocumentEventArgs)

Version Information

Supported in: 5D58w

See Also

Reference

RhinoDoc Class
Rhino Namespace

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