Link balloons of every view in drawing to specified table

Hi all.

I want to add a part to my code.

The macro edits drawings.

When the macro deletes the old BOM's and inserts the new one, sometimes the balloons of views become unlinked (and I get strange large numbers in them, like 806).

Is it possible to "link balloon text to specified table" for every view in the drawing?

(by hand the procedure is as follows: rightclick on a view, select "properties", click on "Link balloon text to specified table")

SolidworksApi/macros