This commit is contained in:
Andrej730
2025-02-05 18:48:53 +05:00
committed by Andrej
parent 6473fa4b67
commit 38e6f09c91
+4 -1
View File
@@ -300,7 +300,10 @@ class Pset(bonsai.core.tool.Pset):
# to prevent data loss and error casting data.
# Property will be added later by import_pset_from_existing.
for prop_template in sorted(pset_template.HasPropertyTemplates, key=lambda p: p.Name):
if not prop_template.is_a("IfcSimplePropertyTemplate"):
if (
not prop_template.is_a("IfcSimplePropertyTemplate")
or prop_template.PrimaryMeasureType == "IfcComplexNumber"
):
continue # Other types not yet supported
prop_data = data.get(prop_template.Name)
if prop_template.TemplateType == "P_SINGLEVALUE":