Make the audit class a drop down in the panel UI

This commit is contained in:
Dion Moult
2019-11-26 21:05:05 +11:00
parent afaa34ffc2
commit 44491c6167
3 changed files with 9 additions and 3 deletions
+1
View File
@@ -129,6 +129,7 @@ def getApplicableDocuments(self, context):
class BIMProperties(PropertyGroup):
schema_dir: StringProperty(default=os.path.join(cwd ,'schema') + os.path.sep, name="Schema Directory")
data_dir: StringProperty(default=os.path.join(cwd, 'data') + os.path.sep, name="Data Directory")
audit_ifc_class: EnumProperty(items=getIfcClasses, name="Audit Class")
ifc_class: EnumProperty(items=getIfcClasses, name="Class", update=refreshPredefinedTypes)
ifc_predefined_type: EnumProperty(
items = getIfcPredefinedTypes,