ObjectsByURL - PYTHON 不支持

Returns the identifiers of all objects based on the objects' user-assigned URL.

语法

Rhino.ObjectsByURL (strURL [, blnSelect [, blnIncludeLights]])

参数

strURL

Required.字符串。The URL of an object or objects.

blnSelect

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

blnIncludeLights

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

返回值

Array

An array of strings identifying the objects if successful.

Null

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

示例

Dim arrObjects, strURL

strURL = Rhino.GetString("URL to select")

If Not IsNull(strURL) Then

arrObjects = Rhino.ObjectsByURL(strURL, True)

End If

同见