mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 11:18:01 +00:00
black .
This commit is contained in:
@@ -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"""
|
||||||
|
|||||||
Reference in New Issue
Block a user