get_objects_by_material

Modeler2D.get_objects_by_material(materialname)

Retrieve a list of the IDs for objects of a specified material.

Parameters
materialnamestr

Name of the material.

Returns
list

List of IDs for objects of the specified material.

References

>>> oEditor.GetObjectsByMaterial