Gets the pick list for bSDD properties with Allowed Values working

This commit is contained in:
Richard Brice
2026-08-11 14:47:44 -07:00
parent 6dc14fa05c
commit 4cfe1f96f8
3 changed files with 64 additions and 4 deletions
+1 -1
View File
@@ -1026,7 +1026,7 @@ def apply_ifc_classification_properties(
psets = ifcopenshell.util.element.get_psets(element)
for prop in classificationProperties:
predefinedValue = prop.get("predefinedValue")
if not predefinedValue or prop.get("propertyDomainName") != "IFC":
if not predefinedValue or predefinedValue == "None" or prop.get("propertyDomainName") != "IFC":
continue
pset = psets.get(prop["propertySet"])
if pset: