ifcopenshell.api.boundary.copy_boundary

Module Contents

ifcopenshell.api.boundary.copy_boundary.copy_boundary(file: ifcopenshell.file, boundary: ifcopenshell.entity_instance) ifcopenshell.entity_instance

Copies a space boundary

Parameters:

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

Returns:

Duplicate of the IfcRelSpaceBoundary

Return type:

ifcopenshell.entity_instance

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”)

# And now we have two boundary_copy = ifcopenshell.api.boundary.copy_boundary(model, boundary=boundary)