Click or drag to resize

RhinoDocWriteFile Method

Write information in this document to a file. Note, the active document's name will be changed to that of the path provided.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool WriteFile(
	string path,
	FileWriteOptions options
)

Parameters

path
Type: SystemString
The name of the file to write.
options
Type: Rhino.FileIOFileWriteOptions
The file writing options.

Return Value

Type: Boolean
true if successful, false on failure.
Remarks
This is the best choice for general file writing. It handles making backups using temporary files, locking and unlocking, loading file writing plug-ins, and many other details.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also