×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

update external links in CATIA part via a macro

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

RE: update external links in CATIA part via a macro

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

Regards,
Derek

RE: update external links in CATIA part via a macro

(OP)

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

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

Regards,
Derek

RE: update external links in CATIA part via a macro

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources