Returns the identifiers of all objects based on the objects' geometry type.
Rhino.ObjectsByType (intType [, blnSelect [, intState]])
intType |
Required. Number. The type(s) of geometry objects (points, curves, surfaces, meshes, etc.) that can be returned. Object types can be added together to filter several different kinds of geometry.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blnSelect |
Optional. Boolean. Select the objects. If omitted, the objects are not selected (False). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
intState |
Optional. Number. The object state (normal, locked, and hidden). Object states can be added together to filter several different states of geometry.
|
Array |
An array of strings identifying the objects if successful. |
Null |
If not successful, or on error. Object states can be added together to filter several different states of geometry. |
Dim arrObjects
arrObjects = Rhino.ObjectsByType(4 + 8, True)