Returns the identifier of the next object in the document.
Rhino.NextObject (strObject [, blnSelect [, blnIncludeLights [, blnIncludeGrips]]])
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). |
blnIncludeGrips |
Optional. Boolean. Include grips objects. If omitted, grips 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 Not IsNull(strObject)
Rhino.Print "Object identifier: " & strObject
strObject = Rhino.NextObject(strObject)
Wend