# FileDwgWriteOptions 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 FileDwgWriteOptions
```

Options for writing a DWG file

## Constructors

- [FileDwgWriteOptions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/ctor.md): (2 overloads) AutoCAD version format to write to

## Properties

- [ColorMethod](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/colormethod.md): pallette index: clrACI, RGB: clrRGB
- [CurveChordHeight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curvechordheight.md): Absolute distance from pline to nurb
- [CurveMaxAngleDegrees](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curvemaxangledegrees.md): Angle between pline segments in writing curve
- [CurveMaxAngleRadians](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curvemaxangleradians.md): Angle between pline segments in writing curve
- [CurveSegmentLength](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curvesegmentlength.md): Max length for any polyline segment
- [CurveUseChordHeight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curveusechordheight.md)
- [CurveUseMaxAngle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curveusemaxangle.md)
- [CurveUseSegmentLength](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/curveusesegmentlength.md)
- [ExportArcsAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportarcsas.md)
- [ExportLinesAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportlinesas.md)
- [ExportMeshesAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportmeshesas.md): Rhino meshes as polyface meshes or 3dfaces
- [ExportPolycurvesAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportpolycurvesas.md)
- [ExportPolylinesAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportpolylinesas.md)
- [ExportSplinesAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportsplinesas.md)
- [ExportSurfacesAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/exportsurfacesas.md): Rhino surcaces as meshes(0) or curves(1) or acis(2)
- [Flatten](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/flatten.md): Project to cplane or view
- [FullLayerPath](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/fulllayerpath.md): write layernames as Parent$Child or Child
- [IsDefault](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/isdefault.md)
- [MinPointDistance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/minpointdistance.md)
- [Name](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/name.md)
- [NoDxfHeader](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/nodxfheader.md): write an entities only dxf file ( R12 only)
- [PreserveArcNormals](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/preservearcnormals.md): Users wanted to use Pedit in AutoCAD to join them into plines and that didn't work if the normals of arcs being joined are different. Default will be true and will change the behavior
- [Simplify](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/simplify.md): use lines and arcs where possible
- [SimplifyTolerance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/simplifytolerance.md)
- [SplitPolycurves](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/splitpolycurves.md): Explode polycurves before exporting
- [SplitSplines](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/splitsplines.md): Split splines at FMKs before exporting
- [UseColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/usecolor.md): Set AutoCAD display color with Rhino print or display color
- [UseLWPolylines](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/uselwpolylines.md)
- [Version](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/version.md): Version of DWG file to write
- [WriteThickCurves](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/writethickcurves.md): Write extrusions with simple profile curves as thick curves.

## Methods

- [AddToDictionary](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/addtodictionary.md): Add these options to a dictionary, used by UIless dotnet export.
- [SetNamedParameters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/setnamedparameters.md): Add these options to a NamedParametersEventArgs, used in the dotnet version of the acad export UI.
- [ToDictionary](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.filedwgwriteoptions/todictionary.md): Create a dictionary of these options. This dictionary can be passed to the RhinoDoc.Export function
