SOLIDWORKS PDM – How to Map Variables to File Properties and Custom Variables

Article by Jay Khajuriwala updated April 21, 2025

Article

SOLIDWORKS PDM variables can be mapped to both predefined properties, like Title and Author, as well as to custom-named properties within SOLIDWORKS files. In this guide, we’ll discuss how to map variables between SOLIDWORKS and SOLIDWORKS PDM.

How To Map Custom Properties in SOLIDWORKS PDM

Before beginning, you’ll want to identify which SOLIDWORKS Custom Properties you want to map with SOLIDWORKS PDM. These are typically defined in the SOLIDWORKS templates and can been seen by opening the file properties and viewing the Custom tab. In this example, we will map for a “Drawing Title” property.

  1. Launch the SOLIDWORKS PDM Administration either from the PDM Vault or the Windows program search.
  2. In the SOLIDWORKS PDM Administration tool, right-click on Variables and choose New Variable.

    Creating a new variable in SOLIDWORKS PDM

    Creating a new variable in SOLIDWORKS PDM

  3. In the Edit Variable dialog box, create a variable called “Drawing Title”.
  4. Click on New Attribute.
  5. In the Selected attribute section:
    a. For Block name, choose “CustomProperty”.
    b. For Attribute name, enter “DRAWING_TITLE”.
    c. Enter the SOLIDWORKS file extensions that include the property, separating them with commas (e.g., slddrw).
  6. Click OK.
  7. Map Variables in SOLIDWORKS DrawingsIn the Card Editor, open the data card for the SOLIDWORKS Drawing file.
  8. Insert an edit box and link it to the newly created Drawing Title variable.

    Mapping variable to SOLIDWORKS Drawing Card

    Mapping variables to SOLIDWORKS Drawing Card

  9. Save the card and exit the Card Editor.

Other Possible SOLIDWORKS Property Mappings

Variable nameSW property nameBlock nameAttribute name
Drawing TitleDRAWING_TITLECustomPropertyDRAWING_TITLE
WeightWEIGHTCustomPropertyWEIGHT
RevisionREVISIONCustomPropertyREVISION
Designed ByDESIGNED BYCustomPropertyDESIGNED BY
Next AssemblyNEXT_ASSYCustomPropertyNEXT_ASSY
VendorVENDORCustomPropertyVENDOR

How To Map File Properties in SOLIDWORKS PDM

The general steps for mapping variables to file properties are the same as outlined above.

  1. Create the variable:
  2.  Right-click on Variable and select New Variable.
  3. Enter a name for the variable.
  4.  Click New Attribute.
  5.  In the Selected attribute section:
    1. Choose a Block name.
    2. Enter an Attribute name.
    3. Input the file extensions that will use this variable mapping, separated by commas.
  6. Click OK.

How To Associate the Variable with a PDM Data Card Control

  1. In the SOLIDWORKS PDM Card Editor, open the desired data card.
  2. Place a new control on the card.
  3. In the properties pane of the control, select the Variable you created.
  4. Configure any additional properties for the control.
  5. Save the card and exit the Card Editor.

When a variable’s value is altered on the file data card, the associated property value within the file is automatically updated, eliminating the need for users to open and resave the file. After following the above steps, you’ll soon be the expert able to map variables in SOLIDWORKS PDM to your heart’s content. However, our team is always here to answer your questions or provide additional assistance should you need it.
Do you have additional customizations needed for SOLIDWORKS PDM? Take a look at our Data Management Services here.

Related Links

Want to do more with SOLIDWORKS PDM?

Our Certified SOLIDWORKS PDM Experts can help you to:

Jay Khajuriwala

Jay Khajuriwala is a Client Success Analyst for Data Management with TriMech/Javelin