P_Rhino_RhinoDoc_ActiveDoc - mcneel/rhinocommon-api-docs GitHub Wiki
WARNING!! Do not use the ActiveDoc if you don't have to. Under Mac Rhino the ActiveDoc can change while a command is running. Use the doc that is passed to you in your RunCommand function or continue to use the same doc after the first call to ActiveDoc.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static RhinoDoc ActiveDoc { get; }
VB
Public Shared ReadOnly Property ActiveDoc As RhinoDoc
Get
Type: RhinoDoc
Supported in: 5D58w