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