Kevin Andrews wrote:
Guess I need to explain a little bit...
We operate off of a pdm server. About a year and a half ago, that server crashed and we lost everything -....
While I should know the answer to this, and I am probably just brain farting, is there a way that I can do a 'save-as' on an assembly and have it save all of the referenced parts along with it? Or will I have to keep saving each and every piece individually?
Have you tried the Pack and Go function in SolidWorks Explorer? You can rename files, and then copy the assemblies along with their references...and (if selected) the child parts of the assembly.
Since you are using PDM, you should make use of Tools.....Update References. If you have an assembly from the old vault, copy it (just the assembly file) into the new vault. Then, use 'Tools.....Update References' which will list all of the files that the assembly needs. There are buttons to have PDM search the entire vault for the missing references or to have PDM bring in all the missing references to a directory of your choosing. Once they are in the vault and checked in, you can rename/move the files however you want and all the references will be updated automatically.
This sounds like, or very close, to what I am looking for. I followed the link, but it did not tell me how to get to the command.
Can you enlighten me so that I can give it a whirl?
Say I have an assembly outside the vault with this structure:
There are also drawings associated with ABC, A, C and D:
If I copy ABC.SLDASM into the vault, I can then use the 'Update References' tool:
which shows this dialog:
If the references are already in the vault (but not where the assembly thinks they are), you can search using the second toolbar button. It will look for files with the same name. It uses the database so it is fast. If it finds more than one, it will let you choose the correct one.
If the referenced files are not in the vault, you can use the third toolbar button to add them:
When you click Next it will display a box asking you to confirm and then the Update References dialog will update:
So, A, B and C were brought into the vault, and since C references D and E, they are now listed as 'File Not Found'. If you click on Update, ABC will have the proper references, but C will not. In fact, performing Update References on C doesn't work either, because the files will be listed as 'not found' as opposed to 'Outside SOLIDWORKS PDM'. You can open C, rebuild and save it and then Update References will show the correct information:
If your assemblies have a lot of depth, this can get tedious, but it works.
Another approach is to copy *all* the part files into the vault to some temporary holding place. When you need an assembly that is outside vault, you copy it in and then use Update References telling it to search the holding directory. When the assembly references are clean, you can check it in and then use 'Move Tree' to move the files out of the holding area to the correct directory.
Very in depth and I truly appreciate it. Thank you for this.