This commit is contained in:
Ryan Schultz
2025-10-12 12:46:49 -05:00
parent 1dd477d382
commit f5f676cf51
@@ -139,10 +139,13 @@ class BIM_OT_aggregate_unassign_object(bpy.types.Operator, tool.Ifc.Operator):
# Show info message if aggregates were deleted # Show info message if aggregates were deleted
if deleted_aggregates: if deleted_aggregates:
if len(deleted_aggregates) == 1: if len(deleted_aggregates) == 1:
self.report({'INFO'}, f"Aggregate '{deleted_aggregates[0]}' was deleted because it had no remaining parts") self.report(
{"INFO"}, f"Aggregate '{deleted_aggregates[0]}' was deleted because it had no remaining parts"
)
else: else:
aggregate_list = ", ".join(f"'{name}'" for name in deleted_aggregates) aggregate_list = ", ".join(f"'{name}'" for name in deleted_aggregates)
self.report({'INFO'}, f"Aggregates {aggregate_list} were deleted because they had no remaining parts") self.report({"INFO"}, f"Aggregates {aggregate_list} were deleted because they had no remaining parts")
class BIM_OT_enable_editing_aggregate(bpy.types.Operator): class BIM_OT_enable_editing_aggregate(bpy.types.Operator):
"""Enable editing aggregation relationship""" """Enable editing aggregation relationship"""