RhinoCore

public class RhinoCore : IDisposable
Represents an instance of RhinoCore.DLL.

Constructors

RhinoCore

#Since v7.0
public RhinoCore()
Initializes a new instance of the RhinoCore class.
Remarks: This constructor creates a headless instance of Rhino. No Rhino UI will be created at all.

RhinoCore

#Since v7.0
public RhinoCore(string[] args, WindowStyle windowStyle, nint hostWnd)
Initializes a new instance of the RhinoCore class.
Remarks: For args documentation see "https://developer.rhino3d.com/guides/cpp/running-rhino-from-command-line/"
args (string[])Rhino command line parameters
windowStyle (WindowStyle)Rhino main window initial style
hostWnd (nint)Host main window OS native handle

RhinoCore

#Since v7.0
public RhinoCore(string[] args, WindowStyle windowStyle)
Initializes a new instance of the RhinoCore class.
Remarks: For args documentation see "https://developer.rhino3d.com/guides/cpp/running-rhino-from-command-line/"
args (string[])Rhino command line parameters
windowStyle (WindowStyle)Rhino main window initial style

RhinoCore

#Since v7.0
public RhinoCore(string[] args)
Initializes a new instance of the RhinoCore class.
Remarks: For args documentation see "https://developer.rhino3d.com/guides/cpp/running-rhino-from-command-line/"
args (string[])Rhino command line parameters

Finalizer

~RhinoCore

#
~RhinoCore()
IDisposable implementation

Methods

Dispose

#Since v7.0
public void Dispose()
IDisposable implementation

DoEvents

#Since v7.0
public bool DoEvents()
If a Rhino owned window is active processes all Windows messages currently in the message queue.
Returns true if a Rhino owned window is still active or Idle tasks are pending.

DoIdle

#Since v7.0
public bool DoIdle()
Processes all Rhino Idle tasks.
True if Idle tasks are still pending.

InvokeInHostContext<T>

#Since v7.0
public T InvokeInHostContext<T>(Func<T> func)
Invokes function in Host context
func (Func<T>)
Returns argument function return value.

InvokeInHostContext

#Since v7.0
public void InvokeInHostContext(Action action)
Invokes action in Host context
action (Action)

RaiseIdle

#Since v7.0
public void RaiseIdle()
Raises the Idle event.

Run

#Since v7.0
public int Run()
Runs RhinoApp Message loop