get_objects

compas_rhino.objects.get_objects(name=None, color=None, layer=None, type=None)[source]

Get identifiers of Rhino objects, potentially filtered by name, color, layer, or type.

Parameters:
namestr, optional

Name of the objects.

colortuple or list, optional

RGB color components in integer format (0-255).

layerstr, optional

Layer containing the objects.

typeRhino.DocObjects.ObjectType, optional

The object type.

Returns:
list[System.Guid]

The System.Guids of the objects matching the filter parameters.