DeformablePart.find_nodes_by_attribute

DeformablePart.find_nodes_by_attribute(attr: str, value: float, tolerance: float = 0.001)

Find all nodes with a given value for a the given attribute.

Note

Only numeric attributes are supported.

Parameters:
  • attr (str) – Attribute name.

  • value (any) – Appropriate value for the given attribute.

Returns:

list[compas_fea2.model.Node]