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

Status
Not open for further replies.

blaR3

Mechanical
Nov 16, 2016
8
Hello,

I've been trying to write a simple vba code (find script command) that will automatically load all external links in a part document... and with no success.

Can someone help me, please...

Thank you!
 
Replies continue below

Recommended for you

Are you talking about loading parts that have publications which feed external references in a part you have loaded?

Based on my experience, external reference paths are not exposed. You also cannot tell if an external reference is connected or not. In some cases you can find the document, but not the path of the document.

You can look into StiEngine/StiDbItem/StiDbChildren objects in the documentation (it isn't very well documented) and I didn't have much luck with it, likely because it is for SMARTteam.

Here is some code

You would also need to know how you are managing data...it would likely be easier to have a macro load parts from your local than it would from a PLM.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor