ifcopenshell.api.boundary.remove_boundary#

Module Contents#

class ifcopenshell.api.boundary.remove_boundary.Usecase(file, boundary=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.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.run(“root.create_entity”, model, ifc_class=”IfcRelSpaceBoundary”)

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

execute(self)#