mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
edit_meshlike_item - fix missing item object name update
This commit is contained in:
@@ -1903,6 +1903,7 @@ class Geometry(bonsai.core.tool.Geometry):
|
||||
for inverse in tool.Ifc.get().get_inverse(item):
|
||||
ifcopenshell.util.element.replace_attribute(inverse, item, new_item)
|
||||
ifcopenshell.util.element.remove_deep2(tool.Ifc.get(), item)
|
||||
cls.name_item_object(obj, new_item)
|
||||
tool.Ifc.link(new_item, obj.data)
|
||||
cls.reload_representation(rep_obj)
|
||||
return new_item
|
||||
|
||||
Reference in New Issue
Block a user