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