You can now exclude classes from streaming in ifcopenshell.stream

This commit is contained in:
Dion Moult
2023-06-28 12:41:29 +10:00
parent 2fbb3c8ac6
commit bde5b52495
2 changed files with 22 additions and 7 deletions
@@ -141,7 +141,6 @@ class sqlite(file):
return [self.by_id(r[0]) for r in rows]
def traverse(self, inst, max_levels=None, breadth_first=False):
print("traversing", inst)
results = [inst]
queue = [inst]
while queue: