mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 19:54:07 +00:00
Remove usage of .wrapped_item and some other fixes
This commit is contained in:
@@ -457,7 +457,7 @@ class context:
|
||||
|
||||
for f in self.fs:
|
||||
if kwargs.keys() == {'include'}:
|
||||
kwargs2 = {'include': [e for e in kwargs['include'] if e.wrapped_data.file == f]}
|
||||
kwargs2 = {'include': [e for e in kwargs['include'] if e.file == f]}
|
||||
else:
|
||||
kwargs2 = kwargs
|
||||
it = ifcopenshell.geom.iterator(s, f, geometry_library="cgal", **kwargs2)
|
||||
|
||||
Reference in New Issue
Block a user