Mapping model custom properties to drawing file cards ($PRPSHEET mapping)

 

Using $PRPSHEET mapping in an annotation to display a model custom property in a drawing title block is a common practice. With PDM (both Standard and Professional), you have the ability to actually move the property from the model to the custom properties of the drawing, and into the drawing's data card.

There are a couple things to note in order to get this mapping to work:

  • The drawing must be saved in SOLIDWORKS and the SOLIDWORKS PDM add-in must be enabled in SOLIDWORKS. 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.

 

Below are the steps to set up the property mapping. In this example, we will be mapping a Description property from the model to the drawing.

  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:
    a) For Block name, select CustomProperty.
    b) For Attribute name, type Description.
    c) 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:
    a) For Block name, type $PRPSHEET. This must be all uppercase.
    b) For Attribute name, type Description or the name of the model's custom property from which you are copying the value.
    c) Type the file extension slddrw.

  5. Click OK.
  6. If you don't already have a Description field on the data card, open the SOLIDWORKS Drawing file card in the Card Editor.
  7. Add an edit box and select the Description variable as the Variable name.

  8. Save the card and close the Card Editor.

 

Now, when you create a drawing from a model with a Description custom property, it should be copied from the model to both the drawings custom properties, and the drawing's data card.

If you have any questions regarding the information above, please contact Hawk Ridge Systems Technical Support at 1-877-266-4469  (US), 1-866-587-6803  (CAN), or support@hawkridgesys.com.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.