Model.find_materials_by_attribute

Model.find_materials_by_attribute(attr, value, tolerance=1)[source]

Find materials by attribute.

Parameters:
attrstr

The name of the attribute.

valueUnion[str, int, float]

The value of the attribute.

tolerancefloat, optional

The tolerance for the search, by default 1.

Returns:
list[:class=`compas_fea2.model.materials.Material`]