Model.group_parts_where

Model.group_parts_where(attr, value)[source]

Group a set of parts with a give value of a given attribute.

Parameters:
  • attr (str) – The name of the attribute.

  • value (var) – The value of the attribute

Returns:

compas_fea2.model.PartsGroup – The group with the matching parts.