Click or drag to resize

WorksessionFileWrite Method (String)

Writes a version 5 worksession file.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public bool Write(
	string path
)

Parameters

path
Type: SystemString
The file to write.

Return Value

Type: Boolean
True if the file was written. If false is returned, an existing file is left as it was.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf path is null.
Remarks
The first active model is written first and the other models follow in order. Models with an empty full path are not written. Paths are written as they are, and are not checked or changed.
See Also