mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 06:18:09 +00:00
Minor fix
This commit is contained in:
@@ -141,10 +141,7 @@ def get_fmhem_types(ifc_file):
|
|||||||
fmhem_classes = fmhem_classes_ifc4
|
fmhem_classes = fmhem_classes_ifc4
|
||||||
for ifc_class in fmhem_classes:
|
for ifc_class in fmhem_classes:
|
||||||
try:
|
try:
|
||||||
if ifc_class in ("IfcEnergyConversionDeviceType", "IfcFlowTerminalType"):
|
elements += [e for e in ifc_file.by_type(ifc_class) if not e.is_a() not in fmhem_excluded_classes]
|
||||||
elements += [e for e in ifc_file.by_type(ifc_class) if not e.is_a() not in fmhem_excluded_classes]
|
|
||||||
else:
|
|
||||||
elements += ifc_file.by_type(ifc_class)
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
return elements
|
return elements
|
||||||
|
|||||||
Reference in New Issue
Block a user