Model.add_elements

Model.add_elements(elements, parent=None)

Add multiple elements to the model.

Parameters:
elementslist[Element]

The model elements.

parentGroup, optional

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

Returns:
list[Element]