AnsweredAssumed Answered

Does swApp.ReplaceReferencedDocument replace all references for that doc?

Question asked by Eric Snyder on Jul 19, 2018
Latest reply on Jul 19, 2018 by Christian Chu

Does anybody know how swApp.ReplaceReferencedDocument handles replacement of multiple references of the same document? Here is the set up:


I have an assembly that has 50 components that are the exact same component, just inserted 50 times. The component file is outside the vault. I copy the component file to the vault and want to run swApp.ReplaceReferencedDocument to replace the references.


Does this API command replace all references. Is replacing the references the same as replacing the components?