OpenOptionsAutoCAD
OpenOptionsAutoCAD
Section titled “OpenOptionsAutoCAD”openOptionsAutoCAD
Description
Section titled “Description”Options for opening an AutoCAD drawing, used with the Application.open() method.
Properties
Section titled “Properties”OpenOptionsAutoCAD.centerArtwork
Section titled “OpenOptionsAutoCAD.centerArtwork”openOptionsAutoCAD.centerArtwork
Description
Section titled “Description”If true
, the artwork is centered on the artboard.
Default: true
.
Boolean.
OpenOptionsAutoCAD.globalScaleOption
Section titled “OpenOptionsAutoCAD.globalScaleOption”openOptionsAutoCAD.globalScaleOption
Description
Section titled “Description”How to scale the drawing on import.
Default: AutoCADGlobalScaleOption.FitArtboard
.
OpenOptionsAutoCAD.globalScalePercent
Section titled “OpenOptionsAutoCAD.globalScalePercent”openOptionsAutoCAD.globalScalePercent
Description
Section titled “Description”The value when globalScaleOption
is AutoCADGlobalScaleOption.ScaleByValue
, expressed as a percentage.
Range: 0.0 to 100.0. Default is 100.0.
Number (double).
OpenOptionsAutoCAD.mergeLayers
Section titled “OpenOptionsAutoCAD.mergeLayers”openOptionsAutoCAD.mergeLayers
Description
Section titled “Description”If true
, the layers of the artwork are merged.
Default: false
.
Boolean.
OpenOptionsAutoCAD.parent
Section titled “OpenOptionsAutoCAD.parent”openOptionsAutoCAD.parent
Description
Section titled “Description”The object’s container.
Object; read-only.
OpenOptionsAutoCAD.scaleLineweights
Section titled “OpenOptionsAutoCAD.scaleLineweights”openOptionsAutoCAD.scaleLineweights
Description
Section titled “Description”If true
, line weights are scaled by the same factor as the rest of the drawing.
Default: false
.
Boolean.
OpenOptionsAutoCAD.selectedLayoutName
Section titled “OpenOptionsAutoCAD.selectedLayoutName”openOptionsAutoCAD.selectedLayoutName
Description
Section titled “Description”The name of the layout in the drawing to import.
String.
OpenOptionsAutoCAD.typename
Section titled “OpenOptionsAutoCAD.typename”openOptionsAutoCAD.typename
Description
Section titled “Description”The class name of the object.
String; read-only.
OpenOptionsAutoCAD.unit
Section titled “OpenOptionsAutoCAD.unit”openOptionsAutoCAD.unit
Description
Section titled “Description”The unit to map to.
Default: AutoCADUnit.Millimeters
.
OpenOptionsAutoCAD.unitScaleRatio
Section titled “OpenOptionsAutoCAD.unitScaleRatio”openOptionsAutoCAD.unitScaleRatio
Description
Section titled “Description”The ratio by which to scale while mapping units.
Default: 1.0.
Number (double).