TimberModel.add_elements

TimberModel.add_elements(elements, parent=None)[source]

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]