Hi,
I have a balloon right now that has \\\$PRPMODEL:"PartNo" as default property content.
I want to change it to \\\$PRPMODEL:"Description".
I tried recording the steps but it all it records was just selections and none about changing the default property content.
Right now I'm doing it manually or using the balloon style that I saved.
I tried searching in API help but I haven't found the API call to do it.
Does anyone know how to do it in macro?Thanks a lot.

Hi Kim,
Macro recorder doesn't always record all user actions. Try following logic:
1. Select the drawing view and get notes using IView::GetNotes method. It will return array of notes.
2. Run the loop though the note array and check if the note is a Balloon or not using INote::IsBomBalloon.
3. If yes, get the linked property text using INote::PropertyLinkedText property. If the string matches to your old liked property then replace it by setting the value to your new property again using INote::PropertyLinkedText.
You will have to do some string manipulations to get the result you want. I haven't tried the codes but I think it should work.
Hope it helps you.
Regards,
With a balloon selected, try these codes
It works.
Thanks a lot Deepak.