ifcopenshell.api.boundary.copy_boundary#

Module Contents#

class ifcopenshell.api.boundary.copy_boundary.Usecase(file, boundary=None)#

Copies a space boundary

Parameters

boundary (ifcopenshell.entity_instance.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)

execute(self)#