Hello
To update old drawings, I'm looking for a macro that would automatically change the style of all my bubbles from a drawing to the .sldballoonestl style that I saved and that has its own path and similarly change the BOM table to a new BOM template that I also saved in a specific folder.
I don't know if we can do everything at the same time.... or maybe you have to change the BOM first and then the bubbles since everything has to be linked.
Thank you for your help....
Hello
To change the style of all your bubbles, you can analyze your plan to find all the notes ("GetType Method (IAnnotation)" function) that are balloons ("HasBalloon Method (INote)" function) and apply the style you want to them ("SetStyleName Method (IAnnotation)" function). For the BOM, you can delete it and then recreate it by defining the "BomType" in the "InsertBomTable4 Method (IView)" function.
In the online help, you have examples of macros on each function.
Kind regards
Thank you for your answer d.roger. By searching everywhere with your indications, I managed to do what I wanted.
I'm starting the macro, it will scare novices a little but I haven't cleaned it up yet.
Thanks again
maj_plan_densemble.swp