RigidPart.add_node
- RigidPart.add_node(node)[source]
Add a node to the part.
- Parameters:
- node
compas_fea2.model.Node The node.
- node
- Returns:
compas_fea2.model.NodeThe identifier of the node in the part.
- Raises:
- TypeError
If the node is not a node.
Notes
By adding a Node to the part, it gets registered to the part.
Examples
>>> part = Part() >>> node = Node(xyz=(1.0, 2.0, 3.0)) >>> part.add_node(node)