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 # IfcStructuralConnectionCondition
# IfcStructuralLoad # IfcStructuralLoad
# Keep list sorted alphabetically.
whitelisted_classes = [ whitelisted_classes = [
"IfcActorRole", "IfcActorRole",
"IfcAddress", "IfcAddress",
@@ -559,13 +560,13 @@ class PurgeUnusedElementsByClass(bpy.types.Operator, tool.Ifc.Operator):
"IfcPresentationItem", "IfcPresentationItem",
"IfcProductDefinitionShape", "IfcProductDefinitionShape",
"IfcPropertyAbstraction", "IfcPropertyAbstraction",
"IfcPropertyDefinition", # A bit of a questionable one, and the odd one out from IfcRoot.
"IfcRecurrencePattern", "IfcRecurrencePattern",
"IfcReference", "IfcReference",
"IfcRepresentation", "IfcRepresentation",
"IfcRepresentationContext", "IfcRepresentationContext",
"IfcRepresentationItem", "IfcRepresentationItem",
"IfcRepresentationMap", "IfcRepresentationMap",
"IfcPropertyDefinition", # A bit of a questionable one, and the odd one out from IfcRoot.
"IfcSchedulingTime", "IfcSchedulingTime",
"IfcShapeAspect", "IfcShapeAspect",
"IfcTable", "IfcTable",