fix for issue #2261

This commit is contained in:
Vukas Pajic
2022-07-05 07:34:23 +02:00
committed by GitHub
parent c7272065e6
commit 9e87f0f027
@@ -106,7 +106,11 @@ class Usecase:
properties.append(value) properties.append(value)
continue continue
else: else:
nominal_value = value properties.append(
self.file.create_entity(
"IfcPropertySingleValue",
**{"Name": name, "NominalValue": value},
)
#TODO-The following "elif" is temporary code, will need to refactor at some point - vulevukusej #TODO-The following "elif" is temporary code, will need to refactor at some point - vulevukusej
elif isinstance(value, list): elif isinstance(value, list):
for pset_template in self.settings["pset_template"].HasPropertyTemplates: for pset_template in self.settings["pset_template"].HasPropertyTemplates: