OpenOptionsAutoCAD

Options which may be supplied when opening a AutoCAD file.

Objects:

AutoCADGlobalScaleOption, AutoCADUnit, Boolean, Number, String

Property Listing

Property

Type

Access

Description

centerArtwork

Boolean

read/write

To center the created artwork on the artboard (default: true)

globalScaleOption

AutoCADGlobalScaleOption

AutoCADGlobalScaleOption.FitArtboard

AutoCADGlobalScaleOption.OriginalSize

AutoCADGlobalScaleOption.ScaleByValue

read/write

How to scale the AutoCAD drawing on import (default: Fit Artboard)

globalScalePercent

Number

read/write

Percentage scaling to apply globally on the AutoCAD drawing (default: 1.0)

mergeLayers

Boolean

read/write

To merge the layers of the artwork (default: false)

parent

 

readonly

The object's container.

scaleLineweights

Boolean

read/write

To scale lineweights by the same amount as rest of the drawing (default: false)

selectedLayoutName

String

read/write

Name of layout in the AutoCAD drawing to import.

typename

String

readonly

The class name of the object.

unit

AutoCADUnit

AutoCADUnit.Centimeters

AutoCADUnit.Inches

AutoCADUnit.Millimeters

AutoCADUnit.Picas

AutoCADUnit.Pixels

AutoCADUnit.Points

read/write

Units to which to map (default: Millimeters)

unitScaleRatio

Number

read/write

Ratio by which to scale while mapping the units (default: 1.0)

Object of

Preferences.AutoCADFileOptions