Update Weldment profiles in assembly model, Can it be achieved by macro?

Hi Guys,

I have made a few solidwork models using weldment tools.

But when I change the weldment profiles, the model won't update with it, since the weldment profiles is not linked to the model.

Is there anyway, like a macro, can automatically update all the weldment cross sections in the model?

I have hundreds of models need to be updated! please help!

SolidworksApi macros