FileObj.Write (StreamWriter, RhinoDoc, FileObjWriteOptions)
Public Class
Write an obj stream based on the contents of a RhinoDoc
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
**Since:**7.0
Syntax
public static WriteFileResult Write( StreamWriter stream, RhinoDoc doc, FileObjWriteOptions options)
Parameters
stream
Type:System.IO.StreamWriter
doc
Type: Rhino.RhinoDoc
options
Type: Rhino.FileIO.FileObjWriteOptions
Return Value
Type: WriteFileResult
Remarks
No .mtl file is written, hence no materials, when the WriteFile that takes a StreamWriter is called directly. If you need materials call the WriteFile that takes a string for the obj file path.