Model.find_part_by_name

Model.find_part_by_name(name: str, casefold: bool = False) DeformablePart[source]

Find if there is a part with a given name in the model.

Parameters:
  • name (str) – The name to match

  • casefolde (bool) – If True perform a case insensitive search, by default False.

Returns:

compas_fea2.model.DeformablePart