From e6dc582d823ba85ff24017c6f4b8a2169e67aea8 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 30 Jun 2026 10:12:45 +0200 Subject: [PATCH] ExtractElements - copy over coordionate operation #8199 --- src/ifcpatch/ifcpatch/recipes/ExtractElements.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ifcpatch/ifcpatch/recipes/ExtractElements.py b/src/ifcpatch/ifcpatch/recipes/ExtractElements.py index 132d86d436..19455793f3 100644 --- a/src/ifcpatch/ifcpatch/recipes/ExtractElements.py +++ b/src/ifcpatch/ifcpatch/recipes/ExtractElements.py @@ -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,