GetPrintWidth - PYTHON 不支持

Displays a dialog box prompting the user to select a print width.

语法

Rhino.GetPrintWidth ([dblPrintWidth])

参数

dblPrintWidth

可选参数。Number.The print width to select.If omitted, the default print width will be selected.

返回值

Number

The value of the selected print width if successful.

Null

如果执行不成功或出错,返回空值。

示例

Dim strLayer, dblPrintWidth

strLayer = Rhino.CurrentLayer

dblPrintWidth = Rhino.GetPrintWidth(Rhino.LayerPrintWidth(strLayer))

If IsNumeric(dblPrintWidth) Then

  Rhino.LayerPrintWidth strLayer, dblPrintWidth

End If

同见

GetLayer

GetLinetype