Write information in this document to a file.
Note, the active document's name will be changed to that
of the path provided.
RhinoCommon (in RhinoCommon.dll)
public bool WriteFile(
Public Function WriteFile (
path As String,
options As FileWriteOptions
) As Boolean
- Type: SystemString
The name of the file to write.
- Type: Rhino.FileIOFileWriteOptions
The file writing options.
true if successful, false on failure.
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.