Space.traverse_ancestor

Space.traverse_ancestor(recursive=True)

Traverse ancestors of this element.

Parameters:
recursivebool, optional

Whether to traverse up the tree recursively, by default True

Yields:
compas_ifc.entities.ObjectDefinition

The ancestors of this element.