NextObject



Your Ad Here

Returns the identifier of the next object in the document.

Syntax

Rhino.NextObject (strObject [, blnSelect [, blnIncludeLights]])

Parameters

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).

Returns

String

The identifier of the object if successful.

Null

If not successful, or on error.

Example

Dim strObject

strObject = Rhino.FirstObject

While strObject <> vbNull

Rhino.Print "Object identifier: " & strObject

strObject = Rhino.NextObject(strObject)

Wend

Also See

FirstObject

LastObject

 

Return to Rhino Index


Your Ad Here