Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru 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
Joined
Oct 1, 2002
Messages
683
Location
CA
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
 
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

Back
Top