Hide Table of Contents

Custom Properties

The column header in a design table to specify a custom property uses this syntax:

$PRP@property

where property is the name of a custom property. You can use one of the custom properties listed in the Summary Information dialog box (click File, Properties, Configuration Specific), or you can add a new custom property.

NOTES:

  • The column header is not case sensitive.

  • If you plan to use the custom property as a column in a Bill of Materials:

 

For example, use the header $prp@Cost to control the custom property Cost for each configuration. In the table body cells, type the property value for each configuration. If a cell is blank, the property is undefined for the configuration.

Properties that are associated with model parameters (dimensions and mass properties) update automatically when the model parameters change.

To add a custom property to a design table:

  1. Insert a design table into your model.

  2. In the design table spreadsheet:

    1. For each column with a custom property, label the column in the form $prp@property; for example, $prp@length.

    2. In each column, type in the variable name of the property in the form "name@@configuration@model"; for example, "D2@Sketch1@@Default@box.SLDPRT".

Include the quotation marks and be sure the file name extension (.SLDPRT) is uppercase.

To include the quotation marks, type a single quote mark (') before the expression. For example, type
'"D2@Sketch1@@Default@box.SLDPRT" for the expression
"D2@Sketch1@@Default@box.SLDPRT" to appear in the table.

    1. In new columns, add the standard design table information, for example, D2@Sketch1 as the header, and dimension values in the column.

  1. Click outside the design table to close it.

    Custom properties added in a design table appear automatically on the Configuration Specific tab of the Summary Information dialog box. You can use these properties in Notes and Bills of Materials.

Example of a design table that specifies custom properties:



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:   Custom Properties
*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 2011 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.