Click or drag to resize

File3dmWrite Method (String, Int32)

Writes contents of this model to an openNURBS archive. If the model is not valid, then Write will refuse to write it.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool Write(
	string path,
	int version
)

Parameters

path
Type: SystemString
The file name to use for writing.
version
Type: SystemInt32
Version of the openNURBS archive to write. Must be [2; current version]. Rhino can read its current version, plus earlier file versions except 1. Use latest version when possible.

Alternatively, 0 is a placeholder for the last valid version.

Return Value

Type: Boolean
true if archive is written with no error. false if errors occur.
See Also