Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Nov 16, 2016
Messages
8
Location
SI
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!
 
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

Back
Top