DeformablePart.add_material

DeformablePart.add_material(material: _Material) _Material[source]

Add a material to the part so that it can be referenced in section and element definitions.

Parameters:

material (compas_fea2.model.Material)

Returns:

None

Raises:

TypeError – If the material is not a material.