bim.purge_unused_elements_by_class - keep list sorted

This commit is contained in:
Andrej730
2024-09-16 12:33:11 +05:00
parent a2c2cf65a1
commit ec0094ef33
@@ -532,6 +532,7 @@ class PurgeUnusedElementsByClass(bpy.types.Operator, tool.Ifc.Operator):
# IfcStructuralConnectionCondition
# IfcStructuralLoad
# Keep list sorted alphabetically.
whitelisted_classes = [
"IfcActorRole",
"IfcAddress",
@@ -559,13 +560,13 @@ class PurgeUnusedElementsByClass(bpy.types.Operator, tool.Ifc.Operator):
"IfcPresentationItem",
"IfcProductDefinitionShape",
"IfcPropertyAbstraction",
"IfcPropertyDefinition", # A bit of a questionable one, and the odd one out from IfcRoot.
"IfcRecurrencePattern",
"IfcReference",
"IfcRepresentation",
"IfcRepresentationContext",
"IfcRepresentationItem",
"IfcRepresentationMap",
"IfcPropertyDefinition", # A bit of a questionable one, and the odd one out from IfcRoot.
"IfcSchedulingTime",
"IfcShapeAspect",
"IfcTable",