ElementTree.find_element_node

ElementTree.find_element_node(element)

Find the node containing the element.

Parameters:
elementcompas_model.elements.Element
Returns:
compas_model.model.ElementNode
Raises:
ValueError

If the element is not in the tree.