From e3d254d3e5ba23f57b3c7191c551d03286077167 Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Sun, 30 Nov 2025 19:07:14 -0600 Subject: [PATCH] fix #6250: have name of duplicated type show in outliner, as well. --- src/bonsai/bonsai/bim/module/type/operator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bonsai/bonsai/bim/module/type/operator.py b/src/bonsai/bonsai/bim/module/type/operator.py index 08f07c6402..ef49db33b4 100644 --- a/src/bonsai/bonsai/bim/module/type/operator.py +++ b/src/bonsai/bonsai/bim/module/type/operator.py @@ -347,6 +347,9 @@ class DuplicateType(bpy.types.Operator, tool.Ifc.Operator): if self.description: new.Description = self.description + # Update the Blender object name to match the IFC element name + tool.Root.set_object_name(new_obj, new) + bpy.ops.bim.load_type_thumbnails() # Assign selected objects to the new type if requested