I need help with my current data migration project. I want to read all the links in a CATIA part and then check if those are broken. If possible, I want to find information about the objects which are linked by a link. Let me know if you have ever done something like this.
We are working on moving data from Enovia to Teamcenter. We have extracted all CAD data from Enovia. Our Catia assemblies are mostly fine; however a few errors are shown when we open the assembly. The long strings indicate that the assembly has some broken links since connection to Enovia is lost. These long UIDs cannot be decoded as Dassault does not provide that logic (proprietary info). I am fine with this.
What I am looking for is a way to find broken links in part and the elements of that link.
For debugging the issue I chose a simple part that throws similar error.
When I click on Edit-->Links I see the broken links.
I tried to find these links using the 'Parameters' collection under Catia Part object. This approach is not giving me all links. Please help me with some sample code that can fetch info about all links.