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