Model.add_elements

Model.add_elements(elements, parent=None)

Add multiple elements to the model.

Parameters:
elementslist[Element]

The model elements.

parentGroupNode, optional

The parent group node of the elements. If None, the elements will be added directly under the root node.

Returns:
list[ElementNode]