Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

update external links in CATIA part via a macro

Status
Not open for further replies.

josephv

Mechanical
Oct 1, 2002
683
Hello,

Good afternoon, was wondering if there was a way to update the external links in a CATIA part via the API.

The way to do this in CATIA is:

Edit > Links > Load > Synchronize

Or use the Right Mouse button on a "linked" body and select "Local Update".

There is an UpdateObject method, but it does not appear to update external links.

Please forward your comments and suggestions.


Thank you,

Joseph
 
Replies continue below

Recommended for you

In tools--options--infrastructure--part infrastructure there is an option to automatically update external references as well as an automatic update.

Regards,
Derek
 

Thanks Derek, good tip.

BTW we fixed this problem, by simply closing and then re-opening the part. Then the Update method works.

Best regards,

Joseph
 
Joseph - because your updates in your settings are set to manual, but another setting for update upon opening.

Regards,
Derek
 
Hi Derek,

Thanks, we did change the settings as per your suggestion.

The part does update in CATIA perfectly, but does not when we run the macro. I am guessing there is an issue with the Update Method. However, we do have a work around, so I am happy with the end result.

Thanks again,

Joseph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor