Returns the identifier of the next object in the document.
Rhino.NextObject (strObject [, blnSelect [, blnIncludeLights]])
|
strObject |
Required. String. The identifier of the object from which to get the next object. |
|
blnSelect |
Optional. Boolean. Select the object. If omitted, the object is not selected (False). |
|
blnIncludeLights |
Optional. Boolean. Include light objects. If omitted, light objects are not returned (False). |
|
String |
The identifier of the object if successful. |
|
Null |
If not successful, or on error. |
Dim strObject
strObject = Rhino.FirstObject
While strObject <> vbNull
Rhino.Print "Object identifier: " & strObject
strObject = Rhino.NextObject(strObject)
Wend