ExtractElements - copy over coordionate operation #8199

This commit is contained in:
Thomas Krijnen
2026-06-30 10:12:45 +02:00
parent 366fa67a84
commit e6dc582d82
@@ -109,7 +109,11 @@ class Patcher(ifcpatch.BasePatcher):
except:
pass
if element.is_a("IfcProject"):
return self.new.add(element)
proj = self.new.add(element)
for ctx in element.RepresentationContexts:
for coop in ctx.HasCoordinateOperation:
self.new.add(coop)
return proj
return ifcopenshell.api.project.append_asset(
self.new,
library=self.file,