RigidPart.add_group

RigidPart.add_group(group)

Add a node or element group to the part.

Parameters:

group (compas_fea2.model.NodeGroup | compas_fea2.model.ElementGroup)

Returns:

None

Raises:

TypeError – If the group is not a node or element group.