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)
**Since:**5.0
public bool WriteFile( string path, FileWriteOptions options)
path
Type:System.String The name of the file to write.
options
Type: Rhino.FileIO.FileWriteOptions The file writing options.
Type:Boolean 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.