mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Added "or element.is_a('IfcPropertySingleValue')"
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user