'Catia Visual Basic Macro - change external reference link

I'm wondering if there is any solution for my problem:

In CatiaV5, is it possible to change the external reference link using an Visual Basic (catvba or catscript) macro? For every CatPart or CatProduct we have an external link to reference like in the picture below:

image here

Thank you very much!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source