Minor fix in IfcFM to derive occurrences from types (and make it easier to override)

This commit is contained in:
Dion Moult
2024-06-24 23:39:52 +10:00
parent e6238a1f75
commit 713e9c8e14
+1 -1
View File
@@ -50,7 +50,7 @@ def get_element_types(ifc_file):
def get_elements(ifc_file):
elements = set()
for element_type in ifcopenshell.util.fm.get_fmhem_types(ifc_file):
for element_type in get_element_types(ifc_file):
elements.update(ifcopenshell.util.element.get_types(element_type))
return elements