Returns the identifiers of all objects based on the objects' material source. An object's material source can be obtained using ObjectMaterialSource.
Rhino.ObjectsByMaterialSource (intMaterialSource [, blnSelect])
intMaterialSource |
Required. Number. The material source to query, where:
|
||||||||||
blnSelect |
Optional. Boolean. Select the objects. If omitted, the objects are not selected (False). |
Array |
An array of strings identifying the objects if successful. |
Null |
If not successful, or on error. |
Dim arrObjects
arrObjects = Rhino.ObjectsByMaterialSource(1, True)