Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Replace Pointed Document link (Reference Link Path) Using CATScript

Status
Not open for further replies.

Komal_7

Computer
Jun 26, 2018
2
IN
I have renamed File name of type ".CATproduct" and ".CATPart" (CATIA Files) using CATScript. After File renaming, Link to reference in properties of CATPart and CATProduct is showing old reference link. I need to update reference link (Pointed Document Path) using CATScript.

Does any one have CATScript which update Reference link or have any CATIA API or property using which i can develop CATScript ? Help would be Greatly appreciated.
 
Replies continue below

Recommended for you

Thanks LWolf.

I am able to update instance name and part number. But i am not able to change pointed Document path(Link to Reference) by CATScript.
Any other idea on this?
 
Provided COE solution clearly states that SaveAs method can be used (CATIA.ActiveDocument.SaveAs)

Have you tried that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top