mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 22:31:55 +00:00
Fix bug in FM utility for grabbing classes from the draft FMHEM standard
This commit is contained in:
@@ -114,6 +114,10 @@ def get_cobie_components(ifc_file):
|
|||||||
|
|
||||||
def get_fmhem_types(ifc_file):
|
def get_fmhem_types(ifc_file):
|
||||||
elements = []
|
elements = []
|
||||||
|
if ifc_file.schema == "IFC2X3":
|
||||||
|
fmhem_classes = fmhem_classes_ifc2x3
|
||||||
|
else:
|
||||||
|
fmhem_classes = fmhem_classes_ifc4
|
||||||
for ifc_class in fmhem_classes:
|
for ifc_class in fmhem_classes:
|
||||||
try:
|
try:
|
||||||
if ifc_class == "IfcEnergyConversionDeviceType":
|
if ifc_class == "IfcEnergyConversionDeviceType":
|
||||||
|
|||||||
Reference in New Issue
Block a user