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.
RhinoCommon (in RhinoCommon.dll)
public static RhinoDoc Open(
out bool wasAlreadyOpen
Public Shared Function Open (
filePath As String,
<OutAttribute> ByRef wasAlreadyOpen As Boolean
) As RhinoDoc
- Type: SystemString
Full path to the 3dm file to open
- Type: SystemBoolean
Will get set to true if there is a currently open document with the
specified path; otherwise it will get set to false.
Returns the newly opened document on success or null on error.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.18