IntegerBox - PYTHON 不支持

Python不支持

语法

Rhino.IntegerBox ([strMessage [, intNumber [, strTitle]]])

参数

strMessage

可选参数。字符串。A prompt or message.

intNumber

可选参数。Number.A default whole number.

strTitle

可选参数。字符串。A dialog box title.

返回值

Number

The whole number if successful.

Null

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

示例

Dim lngColor

lngColor = Rhino.LayerColor("Default")

lngColor = Rhino.IntegerBox("Enter an RGB color value", lngColor )

If Not IsNull(lngColor) Then

Rhino.LayerColor "Default", lngColor

End If

 

 

同见

GetInteger