3 Replies Latest reply on Jul 19, 2018 6:14 PM by Christian Chu

    Does swApp.ReplaceReferencedDocument replace all references for that doc?

    Eric Snyder

      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?