How to Create and Use SOLIDWORKS PDM Templates

What Are PDM Templates?

Creating and using templates in SOLIDWORKS PDM Professional is a great time-saving tool to quickly set up new folder structures and files while streamlining repetitive and common projects. PDM is a fantastic tool for organizing your data. The SOLIDWORKS PDM development team makes the software customizable, so you can efficiently structure new projects, reduce the number of manual clicks needed, and automate the folder and file creation in SOLIDWORKS PDM. Let’s take a look at how to create PDM templates:

Step 1: Plan your folder/file structure

First, you’ll want to plan your folder/ file structure. This can be written down, or if you already have one you have noticed you are repeatedly making, that is perfect. Now open the PDM administration tool, right-click on the Templates node, and select New Template.

Plan folder and file structure - create a new template in SOLIDWORKS PDM.

The first page will include the menu items you want your users to see when they right-click. In the example below, the user must hover over Templates to access the SOLIDWORKS Part template.

Access the SOLIDWORKS part template.
SOLIDWORKS PDM part template

Step 2: Execute as

When creating new folders and files, the Execute as tab will be utilized to specify the user credentials. This user will need the proper state and folder permissions to create the files, including the read permissions of any file templates used.

Step 3: Template Cards

The Template Cards tab is just as important as having the actual template card made. Let’s take a step back and make one. Click OK, head up to the Cards node, right-click Template Cards, and select New Card.

Here you can utilize the card editor to make a new card. The template card grabs information for the files and folders from the user. Although this step can be skipped, the purpose is to help keep the templates organized.

Card editor

I opened the SOLIDWORKS Part FILE card and only kept the variables I wanted the user to fill out when the template is created . When the template is created, it will be linked to the template variables and copied back to the folder data card and the folder and file names.  Then, after changing the Card type to Template card and saving the page, we have a template card that we can utilize in our template.

***Note: You don’t have to have a template card; it’s just nice to keep your data organized.

Now back to editing the template. In the template cards tab, add the template card to the selected cards.

Template cards- adding the template card to the selected cards.

Once added, the Card variable column will populate, allowing you to create template variables.

Select Template Variables. This will be where you’ll make new template variables which can be done in the File and Folders tab if you choose not to use a template card.

Template cards

You need to be able to differentiate the template variables from the regular PDM variables. The most common way to distinguish is by adding an identifier like t_ in front of the variable’s name. These template variables are used to pass information between the template card and other various PDM attributes with the files and folders that you are making with this PDM template.

The type of variable you select depends on what kind of information you want to be pulled into the files and folders. If the template variable pulls information from the template card, the type can be set to Format string. Alternatively, to a template card, you can specify that a template variable prompts the users for the variable value.

Organize template variables

Step 4: Files and Folders

The Files and Folders tab is where you’ll add your folder structure. When you build a template, it will always go to the SOLIDWORKS Parts folder defined below, regardless of where you are in the vault. I’ve even related the folder names to the template variables by placing a percent sign before and after the template variable to pull this information.

Adding folder structure in files and folders tab.

When you right-click> properties on any of the folders/files, you’ll see a pop-up. You can assign permissions and copy variables from the template variables to the card variable.

Assign permissions and copy variables from the template variables to the card variable.

The %t_Description% folder copies a .txt file in a separate folder (its source folder), and the description will be a part of its name. The files folder has a SOLIDWORKS part file with the file name being the previously defined template variable value.

Files and folders template in SOLIDWORKS PDM
Files and folders template in SOLIDWORKS PDM

Step 5: Icon

The icon tab allows you to select an icon you want to see next to the template name when you use the template.

Icon tab- select which icon you would like to see next to the template when you use the template in SOLIDWORKS PDM.

Step 6: Permissions (Users and Groups)

The permissions (user and groups tab) were briefly discussed when we went through the Execute as tab. This is different since this will be who is allowed to use the template. If you have access to the template but don’t have permission to access the source files, you will not be able to make this template which is why they have the execute as tab. Click ok, and you now have a template ready to be used in your workflow to make new file structures!

New templates folders and file structures

Contact Us

Have a question? We’re always available to talk over the phone at 262-790-1080; for you to leave a message or submit a request – just contact us. Looking for technical support?
Submit a support case online.

Want More?

Posted in

Share

Meet the Author

Kyoko Keota'sPham

Kyoko has over 7 years experience working in a variety of 3D CAD systems, including and beyond SOLIDWORKS. She serves as Technical Support Engineer at GSC, helping SOLIDWORKS users troubleshoot any issues by walking them through the best steps to take and the workflows to note. With previous experience at SteelWind Industries and Rockwell Automation, she graduated from UW Milwaukee with a bachelor's in Mechanical Engineering in 2018. Test her knowledge on the software, or on the 'table' court, as she co-leads Shorewood's Table Tennis Club and is always encouraging first time players to join in the fun.

view all posts by Kyoko Keota'sPham

Subscribe to Our Newsletter

Get the latest 3D engineering best practices & tutorials delivered monthly to your inbox.

Get 20% off a Markforged Mark Two or X7

SOLIDWORKS Webinars & Power Hours

Upcoming Classes