Update external links
Update external links
(OP)
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!
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!





RE: Update external links
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.