mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 03:00:58 +00:00
Gets the pick list for bSDD properties with Allowed Values working
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user