Model.group_parts_where

Model.group_parts_where(attr, value)[source]

Create a group of parts with an attribute that satisfies a condition.

Parameters:
attrstr

The attribute to check.

valueUnion[str, int, float]

The value of the attribute.

Returns:
:class=`compas_fea2.model.PartsGroup`

The created group.