From b231e9051baa72d81a530fa79e7640c9ef31bf95 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 24 Apr 2021 15:23:36 +0200 Subject: [PATCH] Update main.py --- src/ifcopenshell-python/ifcopenshell/geom/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index e8040d2814..56bfed239a 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -134,6 +134,9 @@ class tree(ifcopenshell_wrapper.tree): def add_file(self, file, settings): ifcopenshell_wrapper.tree.add_file(self, file.wrapped_data, settings) + + def add_iterator(self, iterator): + ifcopenshell_wrapper.tree.add_file(self, iterator) def select(self, value, **kwargs): def unwrap(value):