I'D LIKE TO KNOW HOW TO CLEAN THE LINKS WITH THE PRODUCT IN A CATPART FILE. I TRIED TO ISOLATE THE VIEW BUT WHEN I OPEN THE FILE THE LINKS TURN TO APPEAR.
HOW CAN I DO IT?
THANK'S IN AVANCE
You should first remove all links then reestablish them.
You will have to do this through script.
I'm not at liberty to say exactly how I did it.
Let's just say we waited for Dassault to fix this problem and got tired of waiting.
Hint:
There are two types of links for every view the document link and the geometry link.
Always have the document open seperatly for that view so it is no tied to a larger document.
Look in the documentation under DrawingViewGenerativeLinks.
You will need RemoveAllLinks and AddLink.
Here is the sequence.
Select a view to repair links.
Remove those links.
Select geometry to add.
Add these new links.
Hopefully this outline will get you going in the right direction.
Sorry I can't give you more info on this.
I really wish I could share the script with everyone but I'm sure there are legalities involed.
I've been able to check the links from a view using a script like you said but:
1) When you just want to clean the link... why don't you use the CATDUAV5 cleaning utility... it works well
2) I've been able to reestablish the link to the same 3D file but also with a different 3D file (not the same UUID) without any error prompt... the only pb is that the view doesn't update correctly... (I had simple view Front-Left and Top, no section).
3) How do you access with script to invisible stuff... like bad links (see #2) is the sheet or the DrawingDoc linked also?
I didn't (yet) try to clean (CATDUAV5) my drawing linked to the new 3D file.
In fact I would like to know, if you can tell I what was the script supposed to clean?
By the way... thanks for giving clues about the script it makes me search new stuff I didn't use before.