ExportOptionsAutoCAD

Options which may be supplied when exporting a document to AutoCAD formats (.dwg or .dxf)

Constants/Events

Name

Type

Access

Description

alterPathsForAppearance

Boolean

readonly

Alter paths for appearance.

colors

AutoCADColors

AutoCADColors.Max16Colors

AutoCADColors.Max256Colors

AutoCADColors.Max8Colors

AutoCADColors.TrueColors

readonly

Number of colors to export into the AutoCAD file.

convertTextToOutlines

Boolean

readonly

Whether to convert text to outlines.

exportFileFormat

AutoCADExportFileFormat

AutoCADExportFileFormat.DWG

AutoCADExportFileFormat.DXF

readonly

Which format to export the file as.

exportOption

AutoCADExportOption

AutoCADExportOption.MaximumEditability

AutoCADExportOption.PreserveAppearance

readonly

Whether to preserve appearance or editability during export.

exportSelectedArtOnly

Boolean

readonly

Export selected art only.

rasterFormat

AutoCADRasterFormat

AutoCADRasterFormat.JPEG

AutoCADRasterFormat.PNG

readonly

Raster format in which to export raster art.

scaleLineweights

Boolean

readonly

Whether to scale lineweights by the same amount as rest of the drawing.

unit

AutoCADUnit

AutoCADUnit.Centimeters

AutoCADUnit.Inches

AutoCADUnit.Millimeters

AutoCADUnit.Picas

AutoCADUnit.Pixels

AutoCADUnit.Points

readonly

Units from which to map.

unitScaleRatio

Number

readonly

Ratio by which to scale the output.

version

AutoCADCompatibility

AutoCADCompatibility.AutoCADRelease13

AutoCADCompatibility.AutoCADRelease14

AutoCADCompatibility.AutoCADRelease15

AutoCADCompatibility.AutoCADRelease18

AutoCADCompatibility.AutoCADRelease21

AutoCADCompatibility.AutoCADRelease24

readonly

Release of AutoCAD to export to.