Variable Mapping for SOLIDWORKS Example: Mapping Drawing Custom Properties ($PRP Annotations)

For a SOLIDWORKS drawing, you can map a variable to a custom property of the drawing so the property value of the drawing is copied into the drawing's file card. The value is only visible on the @ tab.

To map the custom property of a drawing to its file card:

  1. Edit or create the variable Description.
  2. Click New Attribute.
  3. Under Selected attribute, specify the attributes for the Description custom property of the drawing:
    1. For Block name, select CustomProperty.
    2. For Attribute name, type Description.
    3. Type the file extensions to use the variable mapping, separated by commas.

      The extension list must include slddrw and can also include other SOLIDWORKS extensions. For example: prt, sldasm, sldprt, slddrw, drw.

  4. Click OK.
  5. In the Card Editor, open the SOLIDWORKS Drawing file card.
  6. Add an edit box and select the Description variable as the Variable name.
  7. Save the card and close the Card Editor.
When the drawing is stored in the vault, the Description custom property value from the drawing is displayed in the drawing's data card.