OpenOptionsAutoCAD
OpenOptionsAutoCAD
Section titled “OpenOptionsAutoCAD”openOptionsAutoCAD
用于打开 AutoCAD 绘图的选项,与 Application.open() 方法一起使用。
OpenOptionsAutoCAD.centerArtwork
Section titled “OpenOptionsAutoCAD.centerArtwork”openOptionsAutoCAD.centerArtwork
如果为 true
,则艺术品在画板上居中。
默认值:true
。
布尔值。
OpenOptionsAutoCAD.globalScaleOption
Section titled “OpenOptionsAutoCAD.globalScaleOption”openOptionsAutoCAD.globalScaleOption
导入时如何缩放绘图。
默认值:AutoCADGlobalScaleOption.FitArtboard
。
OpenOptionsAutoCAD.globalScalePercent
Section titled “OpenOptionsAutoCAD.globalScalePercent”openOptionsAutoCAD.globalScalePercent
当 globalScaleOption
为 AutoCADGlobalScaleOption.ScaleByValue
时的值,以百分比表示。
范围:0.0 到 100.0。默认值为 100.0。
数字(双精度)。
OpenOptionsAutoCAD.mergeLayers
Section titled “OpenOptionsAutoCAD.mergeLayers”openOptionsAutoCAD.mergeLayers
如果为 true
,则合并艺术品的图层。
默认值:false
。
布尔值。
OpenOptionsAutoCAD.parent
Section titled “OpenOptionsAutoCAD.parent”openOptionsAutoCAD.parent
对象的容器。
对象;只读。
OpenOptionsAutoCAD.scaleLineweights
Section titled “OpenOptionsAutoCAD.scaleLineweights”openOptionsAutoCAD.scaleLineweights
如果为 true
,则线宽将与绘图的其他部分按相同比例缩放。
默认值:false
。
布尔值。
OpenOptionsAutoCAD.selectedLayoutName
Section titled “OpenOptionsAutoCAD.selectedLayoutName”openOptionsAutoCAD.selectedLayoutName
要导入的绘图中的布局名称。
字符串。
OpenOptionsAutoCAD.typename
Section titled “OpenOptionsAutoCAD.typename”openOptionsAutoCAD.typename
对象的类名。
字符串;只读。
OpenOptionsAutoCAD.unit
Section titled “OpenOptionsAutoCAD.unit”openOptionsAutoCAD.unit
要映射的单位。
默认值:AutoCADUnit.Millimeters
。
OpenOptionsAutoCAD.unitScaleRatio
Section titled “OpenOptionsAutoCAD.unitScaleRatio”openOptionsAutoCAD.unitScaleRatio
映射单位时的缩放比例。
默认值:1.0。
数字(双精度)。