mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
support enums in new pset_templates
This commit is contained in:
@@ -35,6 +35,7 @@ class Usecase:
|
||||
"PrimaryMeasureType": "IfcLabel",
|
||||
"TemplateType": "P_SINGLEVALUE",
|
||||
"AccessState": "READWRITE",
|
||||
"Enumerators": None
|
||||
}
|
||||
)
|
||||
has_property_templates = list(self.settings["pset_template"].HasPropertyTemplates or [])
|
||||
|
||||
@@ -49,5 +49,7 @@ class Data:
|
||||
"Name": data["Name"],
|
||||
"Description": data["Description"],
|
||||
"PrimaryMeasureType": data["PrimaryMeasureType"],
|
||||
"TemplateType": data["TemplateType"],
|
||||
"Enumerators": data["Enumerators"]
|
||||
}
|
||||
cls.is_loaded = True
|
||||
|
||||
Reference in New Issue
Block a user