VisibleObjects - PYTHON 不支持

Returns the identifiers of all objects that are visible in a specified view.

语法

Rhino.VisibleObjects ([strView [, blnSelect [, blnIncludeLights [, blnIncludeGrips]]]])

参数

strView

可选参数。字符串。The title of the view.If omitted, the current active view is used.

blnSelect

可选参数。Boolean.Select the objects.If omitted, the object is not selected (False).

blnIncludeLights

可选参数。Boolean.Include light objects.If omitted, light objects are not returned (False).

blnIncludeGrips

可选参数。Boolean.Include grips objects.If omitted, grips objects are not returned (False).

返回值

Array

An array of strings identifying the objects if successful.

Null

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

示例

Dim arrObjects, strObject

arrObjects = Rhino.VisibleObjects("Top")

If IsArray(arrObjects) Then

For Each strObject In arrObjects

Rhino.Print "Object identifier:" & strObject

Next

End If

同见

IsView

IsVisibleInView