mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
Invalidate dim GUID index after Shift+D to ensure duplicated parametric dimensions auto-regenerate
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1325,6 +1325,10 @@ class OverrideDuplicateMove(bpy.types.Operator):
|
|||||||
if new_active_obj:
|
if new_active_obj:
|
||||||
context.view_layer.objects.active = new_active_obj
|
context.view_layer.objects.active = new_active_obj
|
||||||
|
|
||||||
|
if any(e.is_a("IfcAnnotation") for e in old_to_new):
|
||||||
|
import bonsai.bim.module.drawing.handler as _drawing_handler
|
||||||
|
_drawing_handler.invalidate_dim_index()
|
||||||
|
|
||||||
return old_to_new
|
return old_to_new
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user