update external links in CATIA part via a macro
update external links in CATIA part via a macro
(OP)
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
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





RE: update external links in CATIA part via a macro
Regards,
Derek
RE: update external links in CATIA part via a macro
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
RE: update external links in CATIA part via a macro
Regards,
Derek
RE: update external links in CATIA part via a macro
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