TreeMixin.export

TreeMixin.export(path, elements)

Export selected elements to a new IFC file.

Wraps IFCFile.export() for convenience. The exported file includes spatial ancestor containers automatically.

Parameters:
pathstr

Output IFC file path.

elementslist[GenericElement]

Elements to export. Their underlying IFC entities are collected.