# FileObjWriteOptions class

Namespace: [Rhino.FileIO](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.fileio.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class FileObjWriteOptions
```

## Constructors

- [FileObjWriteOptions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/ctor.md)

## Fields

- [AngleTolRadians](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/angletolradians.md): If trim is TL_OBJ_FILE_TRIM_POLYLINE, angle_tol (in radians) controls the level of linearization on parameter space trimming curves.
- [WriteOptions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/writeoptions.md)

## Properties

- [ActualFilePathOnMac](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/actualfilepathonmac.md)
- [CreateNgons](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/createngons.md): (obsolete) Setting to enable/disable the creation of ngons for the output
- [CullUnnecessaryVertexesInNgons](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/cullunnecessaryvertexesinngons.md): Setting to determine whether interior collinear vertexes are part of the ngon.
- [EolType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/eoltype.md)
- [ExportAsTriangles](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportastriangles.md): Enable/disable export of faces as triangles.
- [ExportGroupNameLayerNames](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportgroupnamelayernames.md): Setting to determine whether object, group or layer names will become "g"s in the OBJ output file
- [ExportMaterialDefinitions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportmaterialdefinitions.md): Setting to write an .mtl file and "usemtl"s in the obj file
- [ExportNormals](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportnormals.md): Enable/disable export of vertex normals, if they exist.
- [ExportObjectNames](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportobjectnames.md): Setting to determine what object names in Rhino will become in the OBJ output file
- [ExportOpenMeshes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportopenmeshes.md): Enable/Disable bailing when an open mesh is encountered.
- [ExportTcs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exporttcs.md): Enable/disable export of texture coordinates, if they exist.
- [ExportVcs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/exportvcs.md): Enable/disable export of vertex colors, if they exist.
- [IncludeUnweldedEdgesInNgons](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/includeunweldededgesinngons.md): Setting to determine whether unwelded edges are ignored in the creation of an ngon.
- [MapZtoY](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/mapztoy.md): Setting to transform Rhino's Z axis to OBJ's Y axis
- [MergeNestedGroupingNames](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/mergenestedgroupingnames.md): Setting to merge nested layer or group names into a single OBJ group name
- [MeshParameters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/meshparameters.md): Mesh parameters to use when meshing geometry that is not already a mesh.
- [MeshType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/meshtype.md)
- [MinNgonFaceCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/minngonfacecount.md): Minimum number of faces to consider creation of ngon
- [NgonMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/ngonmode.md)
- [ObjectType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/objecttype.md)
- [PolylineType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/polylinetype.md)
- [SignificantDigits](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/significantdigits.md): Number of significant digits to write out for floating point numbers
- [SortObjGroups](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/sortobjgroups.md): Setting to enable/disable sorting of OBJ groups
- [SubDMeshType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/subdmeshtype.md)
- [SubDSurfaceMeshingDensity](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/subdsurfacemeshingdensity.md): Determines how coarse the mesh output will be when surface meshing subd objects See comments for ON_SubDDisplayParameters in opennurbs_mesh.h for details regarding numbers used.
- [TrimCurveType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/trimcurvetype.md): trimming curve option
- [UnderbarMaterialNames](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/underbarmaterialnames.md): Enable/disable replacing white space with under-bars in material names.
- [UseDisplayColorForMaterial](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/usedisplaycolorformaterial.md): Setting to display color as material when material index for object is -1.
- [UseRelativeIndexing](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/userelativeindexing.md): Determines whether to use relative indexing. TRUE = use relative (negative) indexing FALSE = use absolute (positive) indexing
- [UseRenderMeshes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/userendermeshes.md): Use existing or generate render meshes instead of calling RhinoObject.MeshObjects.
- [UseSimpleDialog](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/usesimpledialog.md): Determines whether to use the simple or detailed meshing dialog.
- [VcsFormat](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/vcsformat.md): Export vertex colors as 0 == floats (0.0-1.0) or 1 == ints (0-255)
- [WrapLongLines](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/wraplonglines.md): Setting to enable/disable line wrapping with "\"s

## Methods

- [GetTransform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.fileobjwriteoptions/gettransform.md): Calculates the transform combination of ZToY and any the translation that might occur in a SavewithOrigin.
