Added "or element.is_a('IfcPropertySingleValue')"

This commit is contained in:
Martin15135215
2022-09-03 19:19:02 +02:00
committed by GitHub
parent 248ac71215
commit 74d1bd7e3e
@@ -31,7 +31,7 @@ class Patcher:
deleted = [] deleted = []
hashes = {} hashes = {}
for element in self.file: for element in self.file:
if element.is_a('IfcRoot'): if element.is_a('IfcRoot') or element.is_a('IfcPropertySingleValue'):
continue continue
h = hash(tuple(element)) h = hash(tuple(element))
if h in hashes: if h in hashes: