Model.add_part

Model.add_part(part=None, **kwargs)[source]

Adds a Part to the Model.

Parameters:
partcompas_fea2.model._Part
Returns:
compas_fea2.model._Part
Raises:
TypeError

If the part is not a part.

ValueError

If a part with the same name already exists in the model.