Expand SolidWorks Enterprise PDM File ExplorerSolidWorks Enterprise PDM File Explorer
Expand SolidWorks Enterprise PDM Item ExplorerSolidWorks Enterprise PDM Item Explorer
Collapse SolidWorks Enterprise PDM Administration ToolSolidWorks Enterprise PDM Administration Tool
Expand SolidWorks Enterprise PDM Archive Server Configuration ToolSolidWorks Enterprise PDM Archive Server Configuration Tool
Expand SolidWorks Enterprise PDM File Version Upgrade ToolSolidWorks Enterprise PDM File Version Upgrade Tool
Hide Table of Contents

Mapping Model Custom Properties ($PRPSHEET Annotations) to Drawing File Cards

For a SolidWorks drawing, you can map a variable to a custom property of the model that the drawing is based on instead of a custom property of the drawing so the property value of the model is copied into the drawing's file card.

When the drawing is saved in SolidWorks, the linked properties are copied from the model and updated in the drawing's file card.

This example describes how to define a Description variable for .slddrw files to display the Description custom property of the model that the drawing is based on.

For this mapping to work, the drawing must be saved in SolidWorks and the Enterprise PDM SolidWorks add-in must be enabled. If a value in a model is updated, the drawing data card does not display the updated value until the drawing is opened and resaved.
The $PRPSHEET mapping is read-only. You cannot modify the model property value by modifying the property value in the drawing data card.

To map the custom property of a model to the file card of the drawing based on the model:

  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 New Attribute and specify the attributes for the Description custom property of the model:
    1. For Block name, type $PRPSHEET.

      This must be all uppercase.

    2. For Attribute name, type Description or the name of the model's custom property from which you are copying the value.
    3. Type the file extension slddrw.
  5. Click OK.
  6. In the Card Editor, open the SolidWorks Drawing file card.
  7. Add an edit box and select the Description variable as the Variable name.
  8. Save the card and close the Card Editor.
When you create a SolidWorks drawing from a part with the custom property Description, the value in the part's Description property is copied to the Description field on the drawing's file card.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Mapping Model Custom Properties ($PRPSHEET Annotations) to Drawing File Cards
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.