DeformablePart.add_element

DeformablePart.add_element(element: _Element) _Element

Add an element to the part.

Parameters:

element (compas_fea2.model._Element) – The element instance.

Returns:

compas_fea2.model._Element

Raises:

TypeError – If the element is not an element.