返回或修改一个应用程序接口条目的可见性。
Rhino.AppearanceDisplay (item, show=None )
item |
Required.Number.Item number to either query or modify.The available items are as follows:
|
||||||||||||||||
show |
可选参数。Boolean.The new visibility state, either visible (True) or hidden (False).If omitted, the current visibility state is returned. |
Number |
If a blnShow is not specified, the current visibility state if successful. |
Number |
If a blnShow is specified, the visibility state if successful. |
Null |
如果执行不成功或出错,返回空值。 |
If Not Rhino.AppearanceDisplay(2) Then
Rhino.AppearanceDisplay 2, True
End If