how to replace missing weldment profiles in bulk

Hi,

I have tons of weldment parts whose weldment profiles (sldlfp) are missing.

I want to replace the weldment profiles (sldlfp) with another set of weldment profiles (sldlfp) in another location but with same name for all the cutlist items for all weldment parts.

Can this be done using APIs?? If you could guide me for only 1 weldment part then it would be great. Doing it for rest will not be issue.

Thanks in advance,

Jeetendra Prasad

SolidworksApi macros