WriteAutodesk(Model, String, versionType, String, Double, Boolean, Boolean, lineWeightUnitsType, Boolean) Constructor

NOTE: This member is now obsolete. Use the constructor that accepts the WriteParams instead.

Version, password and deviation constructor.
Public Sub New( _ 
ByVal environment As Model, _ 
ByVal fileName As String, _ 
ByVal version As versionType, _ 
ByVal password As String, _ 
ByVal deviation As Double, _ 
Optional ByVal aciColors As Boolean = true, _ 
Optional ByVal selectedOnly As Boolean = false, _ 
Optional ByVal lineWeightUnits As lineWeightUnitsType = lineWeightUnitsType.Millimeters, _ 
Optional ByVal purge As Boolean = false _ 
)
This language is not supported or no code example is available.
public WriteAutodesk( 
Model environment
string fileName
versionType version
string password
double deviation
bool aciColors = true, 
bool selectedOnly = false, 
lineWeightUnitsType lineWeightUnits = lineWeightUnitsType.Millimeters, 
bool purge = false 
)
This language is not supported or no code example is available.

Parameters

environment
Model

The Environment control

fileName
string

The file name (with *.dwg or *.dxf extension)

version
versionType

DWG/DXF version

password
string

AutoCAD file password, null/Nothing otherwise.

deviation
double

Ellipse and Spline tessellation tolerance. Affects only versionType.Release12 version.

aciColors
bool

Saves the colors as Aci colors (Autocad color index) if possible

selectedOnly
bool

If true, only selected entities at root level are written.

lineWeightUnits
lineWeightUnitsType

The line weight units

purge
bool

If true, purges all unused layers, line types, text styles and blocks from the saved file

Remarks
 
If the file already exists, it will be overwritten.

.NET Framework

Supported in: 4.8

In this article

Definition