As a PDM administrator, the most time-intensive task youโll be faced with as you set up your vault is cleaning up your existing data so you can start with a clean slate. In this article, Iโll be highlighting some of the tools and techniques available in SOLIDWORKS PDM Professional to help you clean up and make your SOLIDWORKS files more accessible.
To decide on a plan for your migration project, youโll first want to get a solid gauge of where your data is coming from, how much data you have and how much cleanup there still is to do. If youโre coming from another PDM software, such as SOLIDWORKS Workgroup PDM, youโll want to consider contacting our services team to get a quote so we can perform the migration for you:
https://www.hawkridgesys.com/services
One of the most common questions we get when customers are migrating their data is, โWhy donโt we just move all of our data into the vault first, and clean up later?โ We donโt recommend doing this because when you copy a file into the vault that has references to other files, PDM is reading the locations of all the references from inside the file. It then saves these locations to the database so you can easily locate them later. If you have a lot of broken references going in, youโre probably making more work for yourself by trying to fix these once that information has already been saved into the database. Rather than starting with broken references, you want to have a clean slate going in to give yourself the best chance at a successful implementation.
If youโve decided youโd like to try migrating the files yourself, getting the total file size of everything youโre migrating is a good start. But youโll also want to consider how diligent youโve been when creating and saving your models to make sure the reference information is correct. Any file that has incorrect or missing reference information should be cleaned up prior to migration.
If you think this might be too much work to be worth migrating everything, you might consider a partial migration โ leaving the rest of the files outside the vault. Below are some of the possible migration scenarios โ color coded from quickest to longest migration time:
Migrate nothing – Leave existing files as they are and start fresh in PDM.
Migrate as needed – Leave files where they are, and leave it to engineers to move files into the vault when they need to use them.
Migrate important/current projects only – Hybrid of leaving legacy files outside of the vault and migrating all files.
Full Migration – Migrating all files into the vault.
Itโs recommended to migrate all files into the vault if possible to take full advantage of PDM permissions, searchability and revision management. Once youโve decided on a strategy, itโs time to start the (sometimes) lengthy process of cleaning up your references.
If youโve moved or otherwise broken the link to some of your referenced parts used in multiple assemblies, it may be worth taking a look at โToolsโ > โOptionsโ > โFile Locationsโ > โReferenced Documents.โ
This dialog will tell SOLIDWORKS where to look if itโs not able to locate a reference. Keep in mind this does not automatically search any subfolders of the folder you specify; youโll need to explicitly add any subfolders youโd like SOLIDWORKS to search. You may want to use the SOLIDWORKS Task Scheduler as well to automate opening and saving your files with the correct paths.
Once all your files have been saved with the correct references, itโs time to copy them into the vault using a Copy > Paste, or drag and drop. Keep in mind that all files should be checked in after theyโve been copied so other users can work with them.
Once your files are in the vault, there are several handy tools that can help save you some time organizing your files to make them easier to work with:
Set Revision
Synchronizes the back-end PDM revision counter with existing Revision custom property value in files.
If your files already have a Revision property before you bring them in, this tool can help PDM line that revision value up with a matching PDM revision number counter value. This ensures that the next revision the file gets in PDM will be correct. You can use this tool on folders and/or checked in files by selecting them in your vault view, and going to Modify > Set Revision. Right clicking anywhere in this tool will give you options for updating the revisions for multiple files. You can also optionally check the โUpdate Variableโ box if you would like to update the PDM Revision variable to be in sync with what PDM thinks is the current revision.
In order to select a โNew Revisionโ value, files must be in a workflow state with a value in its โIncrement Byโ section under the โRevision Numbersโ tab. Youโll also want to make sure youโve selected your revision variable in the upper-right dropdown of the โRevision Numbersโ tab in the state properties.
Move Tree
Moves and renames files in batch.
This tool is a more powerful version of SOLIDWORKS โPack and Goโ for files in the vault. It allows you to grab all a fileโs references then move and rename them. One helpful option with this tool is โPreserve Relative Pathsโ. This adds the relative path of the file to the destination path, so you can duplicate whole folder structures along with the files being moved. If you select โPreserve Relative Pathsโ and change the โDefault Pathโ to the vault root folder, you can rename all files in place without moving them โ even if theyโre in different folders. This can be helpful when combined with the โRename with Serial Numberโ option to turn your existing inconsistent โsmartโ part names into more consistent โdumbโ part names that donโt rely on manual user input.
Update References
Manually updates a PDM file reference.
If you need to replace a file reference after a file has been added to the vault, the โUpdate Referencesโ tool allows you to manually point PDM to a new location. This is done on a per file basis, so itโs recommended for one-off, or occasional use, as it is more of a time intensive process to use for multiple files. You can use the โFind Filesโ button to help locate other instances of files in the vault and redirect the file paths to point to them, or the โAdd Files to Vaultโ option to move new references from outside into the vault.
File Version Upgrade
Standalone tool for upgrading SOLIDWORKS files to the latest version inside the vault after migration. It can also help fix file references.
This is a standalone tool that needs to be installed separately from PDM. It also requires SOLIDWORKS to be installed on any computers running the task. This tool lets you pick files in the vault to check out, open, rebuild, save and check in. It gives you many filtering options and even lets you run the process on multiple computers at the same time to share the load. If you set up the correct โReference Documentsโ locations in your SOLIDWORKS options, any missing references will automatically be repointed and saved with the file if found. The installation files for this tool can be found in the PDM Client installation files folder under the โSupportFileVersionUpgradeโ subfolder. For more information on this tool, consult the SOLIDWORKS PDM web help, or the โInstallation Guideโ PDF file found in the PDM client installation directory.
For more information, check out ourย YouTube channel, get a SOLIDWORKS PDM quoteย or contact us atย Hawk Ridge Systemsย today. Thanks for reading!