Hy all,
i’m writing a macro to reatach all dangling BOM ballons after make massive references changes via DocumentManager.
I open the assembly, rebuild, save, open the drawing and traverse to look for a ballons with “?” symbol, then select the annotation, the entity and try to reatach with SetAttachedEntities(), but the ballon always dissapear.
The result is a boolean with True value, but the ballon dosn’t exist.
I try the example in the API help and get the same behaviour.
https://help.solidworks.com/2023/english/api/sldworksapi/Attach_Annotation_to_Entity_Example_VB.htm
I read the post: https://www.cadoverflow.com/t/revision-table-balloon-moves-after-rebuild/341
As @AmenJlili and @PeterBrinkhuis point, this is the method to use, but i can’t get it work…
Thanks in advance