Description:

Opens a 3dm file and makes it the active document. If called on windows the active document will be saved and closed and the new document will be opened and become the active document. If called on the Mac the file will be opened in a new document window.

Syntax:
public static RhinoDoc Open(
string filePath,
out bool wasAlreadyOpen
)
Parameters:
  • filePath
  • Type: string
  • Full path to the 3dm file to open
  • wasAlreadyOpen
  • Type: bool
  • Will get set to True if there is a currently open document with the specified path; otherwise it will get set to false.
Returns:
Type: RhinoDoc
Returns the newly opened document on success or None on error.
Available since:
6.0

Open method

Class:  Rhino.RhinoDoc

Nothing found