Add balloons to components based on custom properties values

Hi All,

For our customers we always need to make "Spare part drawings". Which is basically a drawing containing an Iso-view on which we attach balloons to the spare parts which contain their part numbers (like file name, BOMballoon)

Now i created a little macro that inserts that balloon on the selected component. I select the component, click the button, balloon get inserted with the right settings, I select the next component.... you'll get the idea .

However, each "spare part component" has a custom property called "spare part" with a value of 1 for spare part, 0 for non spare part.

Is there a way to have the macro look for this custom property, and when it is set to 1 insert the balloon?

This would be a huge time saver.

Thanks in Advance

SolidworksDrawings And Detailing