Eyeshot 10 WPF API Reference
WriteAutodesk Constructor(ViewportLayout,String,versionType,String,Double,Boolean,Boolean,lineWeightUnitsType,Boolean)

WPF Assembly > devDept.Eyeshot.Translators Namespace > WriteAutodesk Class > WriteAutodesk Constructor : WriteAutodesk Constructor(ViewportLayout,String,versionType,String,Double,Boolean,Boolean,lineWeightUnitsType,Boolean)
The devDept.Eyeshot.ViewportLayout control
The file name (with *.dwg or *.dxf extension)
DWG/DXF version
AutoCAD file password, null/Nothing otherwise.
Ellipse and Spline tessellation tolerance. Affects only WriteAutodesk.versionType.Release12 version.
Saves the colors as Aci colors (Autocad color index) if possible
If true, only selected entities at root level are written.
The line weight units
If true, purges all unused layers, line types, text styles and blocks from the saved file
Version, password and tolerance constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal viewportLayout As ViewportLayout, _
   ByVal fileName As String, _
   ByVal version As WriteAutodesk.versionType, _
   ByVal password As String, _
   ByVal deviation As Double, _
   Optional ByVal aciColors As Boolean, _
   Optional ByVal selectedOnly As Boolean, _
   Optional ByVal lineWeightUnits As lineWeightUnitsType, _
   Optional ByVal purge As Boolean _
)

Parameters

viewportLayout
The devDept.Eyeshot.ViewportLayout control
fileName
The file name (with *.dwg or *.dxf extension)
version
DWG/DXF version
password
AutoCAD file password, null/Nothing otherwise.
deviation
Ellipse and Spline tessellation tolerance. Affects only WriteAutodesk.versionType.Release12 version.
aciColors
Saves the colors as Aci colors (Autocad color index) if possible
selectedOnly
If true, only selected entities at root level are written.
lineWeightUnits
The line weight units
purge
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.WriteAutodesk.versionType less than WriteAutodesk.versionType.Acad2004 support only Aci colors.
See Also

Reference

WriteAutodesk Class
WriteAutodesk Members
Overload List