Click or drag to resize

SkinOpenNewDocument Method

Creates a new RhinoDoc from the given template (or a blank document when the path is null/empty/missing) and brings up its document window. Must be called on the main UI thread.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
protected static RhinoDoc OpenNewDocument(
	string templatePath
)

Parameters

templatePath
Type: SystemString
Path to a template file, or null/empty for a blank document.

Return Value

Type: RhinoDoc
The new RhinoDoc, or null on failure.
See Also