FileDwgWriteOptions

References
public class FileDwgWriteOptions
Options for writing a DWG file

Constructors

FileDwgWriteOptions

#Since v8.0
AutoCAD version format to write to
public FileDwgWriteOptions()

FileDwgWriteOptions

#Since v9.0
public FileDwgWriteOptions(
FileDwgWriteOptions
opt
)

Properties

ColorMethod

#Since v8.0
pallette index: clrACI, RGB: clrRGB
public FileDwgWriteOptions.ColorMethodType ColorMethod { get; set; }

CurveChordHeight

#Since v8.0
Absolute distance from pline to nurb
public double CurveChordHeight { get; set; }

CurveMaxAngleDegrees

#Since v8.0
Angle between pline segments in writing curve
public double CurveMaxAngleDegrees { get; set; }

CurveMaxAngleRadians

#Since v8.0
Angle between pline segments in writing curve
public double CurveMaxAngleRadians { get; set; }

CurveSegmentLength

#Since v8.0
Max length for any polyline segment
public double CurveSegmentLength { get; set; }

CurveUseChordHeight

#Since v8.0
public bool CurveUseChordHeight { get; set; }

CurveUseMaxAngle

#Since v8.0
public bool CurveUseMaxAngle { get; set; }

CurveUseSegmentLength

#Since v8.0
public bool CurveUseSegmentLength { get; set; }

ExportArcsAs

#Since v8.0
public FileDwgWriteOptions.ExportArcMode ExportArcsAs { get; set; }

ExportLinesAs

#Since v8.0
public FileDwgWriteOptions.ExportLineMode ExportLinesAs { get; set; }

ExportMeshesAs

#Since v8.0
Rhino meshes as polyface meshes or 3dfaces
public FileDwgWriteOptions.ExportMeshMode ExportMeshesAs { get; set; }

ExportPolycurvesAs

#Since v8.0
public FileDwgWriteOptions.ExportPolycurveMode ExportPolycurvesAs { get; set; }

ExportPolylinesAs

#Since v8.0
public FileDwgWriteOptions.ExportPolylineMode ExportPolylinesAs { get; set; }

ExportSplinesAs

#Since v8.0
public FileDwgWriteOptions.ExportSplineMode ExportSplinesAs { get; set; }

ExportSurfacesAs

#Since v8.0
Rhino surcaces as meshes(0) or curves(1) or acis(2)
public FileDwgWriteOptions.ExportSurfaceMode ExportSurfacesAs { get; set; }

Flatten

#Since v8.0
Project to cplane or view
public FileDwgWriteOptions.FlattenMode Flatten { get; set; }

FullLayerPath

#Since v8.0
write layernames as Parent$Child or Child
public bool FullLayerPath { get; set; }

IsDefault

#Since v8.0
public bool IsDefault { get; set; }

MinPointDistance

#Since v8.0
public double MinPointDistance { get; set; }

Name

#Since v9.0
public string Name { get; set; }

NoDxfHeader

#Since v8.0
write an entities only dxf file ( R12 only)
public bool NoDxfHeader { get; set; }

PreserveArcNormals

#Since v8.0
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
public bool PreserveArcNormals { get; set; }

Simplify

#Since v8.0
use lines and arcs where possible
public bool Simplify { get; set; }

SimplifyTolerance

#Since v8.0
public double SimplifyTolerance { get; set; }

SplitPolycurves

#Since v8.0
Explode polycurves before exporting
public bool SplitPolycurves { get; set; }

SplitSplines

#Since v8.0
Split splines at FMKs before exporting
public bool SplitSplines { get; set; }

UseColor

#Since v9.0
Set AutoCAD display color with Rhino print or display color
public FileDwgWriteOptions.UseColorType UseColor { get; set; }

UseLWPolylines

#Since v8.0
public bool UseLWPolylines { get; set; }

Version

#Since v8.0
Version of DWG file to write
public FileDwgWriteOptions.AutocadVersion Version { get; set; }
Remarks: Updated default acad version to 2018 in Rhino V9

WriteThickCurves

#Since v9.0
Write extrusions with simple profile curves as thick curves.
public bool WriteThickCurves { get; set; }

Methods

AddToDictionary

#Since v9.0
Add these options to a dictionary, used by UIless dotnet export.
public void AddToDictionary()

SetNamedParameters

#Since v9.0
Add these options to a NamedParametersEventArgs, used in the dotnet version of the acad export UI.
public void SetNamedParameters()

ToDictionary

#Since v8.0
Create a dictionary of these options. This dictionary can be passed to the RhinoDoc.Export function
public ArchivableDictionary ToDictionary()