From 74d1bd7e3eaa24e4b8712586d6010c4cb9924acf Mon Sep 17 00:00:00 2001 From: Martin15135215 <110968398+Martin15135215@users.noreply.github.com> Date: Sat, 3 Sep 2022 19:19:02 +0200 Subject: [PATCH] Added "or element.is_a('IfcPropertySingleValue')" --- src/ifcpatch/ifcpatch/recipes/RecycleNonRootedElements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcpatch/ifcpatch/recipes/RecycleNonRootedElements.py b/src/ifcpatch/ifcpatch/recipes/RecycleNonRootedElements.py index ac3160837f..c939b79b6b 100644 --- a/src/ifcpatch/ifcpatch/recipes/RecycleNonRootedElements.py +++ b/src/ifcpatch/ifcpatch/recipes/RecycleNonRootedElements.py @@ -31,7 +31,7 @@ class Patcher: deleted = [] hashes = {} for element in self.file: - if element.is_a('IfcRoot'): + if element.is_a('IfcRoot') or element.is_a('IfcPropertySingleValue'): continue h = hash(tuple(element)) if h in hashes: