ifcopenshell.api.boundary.copy_boundary

Module Contents

ifcopenshell.api.boundary.copy_boundary.copy_boundary(file, boundary=None) None

Copies a space boundary

Parameters:

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

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

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