ifcopenshell.api.boundary.remove_boundary

Module Contents

ifcopenshell.api.boundary.remove_boundary.remove_boundary(file: ifcopenshell.file, boundary: ifcopenshell.entity_instance) None

Removes a space boundary

The relating space or related building element is untouched. Only the boundary and its connection geometry is removed.

Parameters:

boundary (ifcopenshell.entity_instance) – The IfcRelSpaceBoundary you want to remove.

Returns:

None

Return type:

None

Example:

# A boring boundary with no geometry. Note that this boundary is # invalid and does not relate to any space or building element. boundary = ifcopenshell.api.root.create_entity(model, ifc_class=”IfcRelSpaceBoundary”)

# Let’s remove it! ifcopenshell.api.boundary.remove_boundary(model, boundary=boundary)