IFCFile.export

IFCFile.export(path, entities=[], as_snippet=False, export_materials=True, export_properties=True, export_styles=True)

Export a subset of the IFC file to a new IFC file.

Parameters:
pathstr

The path to save the exported IFC file to.

entitieslist[compas_ifc.entities.base.Base]

The entities to export.

as_snippetbool

Whether to export as a snippet, without the full spatial hierarchy. Default is False.

export_materialsbool

Whether to export materials. Default is True.

export_propertiesbool

Whether to export properties. Default is True.

export_stylesbool

Whether to export styles. Default is True.