I need a macro help for balloon contact re-position (refer attached pic)
You can try the active document as a DrawingDoc and calling AttachDimensions()... might work. Its a note but worth a try. You know SW API's and their names/descriptions don't always do what they say
Failing that, try AttachAnnotation and specify View as the option, and select the note before calling it
Hiee Luke , Thank you for reply.
I have seen the AttachAnnotation method in SW API, for that i need to select the face to which i want to attached Note/balloon. Its not possible every time to select the Face on drawing because its requires X,Y co-ordinate. In my case its very difficult to find position of face i.e. X,Y co-ordinate. Is their any better way to select the face on drawing ???
Thank's again in advance
I would say the only option is to get the drawing, call GetViews, go through all views on the sheet that matches the annotation, then get the X and Y of each entity of each view (so lines, etc...) and find the closest one, then select it. So yeah that won't be "easy" but I think likely the only way.
Retrieving data ...