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:
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:
-
Insert a design table into your model.
-
In the design table spreadsheet:
-
For each column with a custom property, label the column in the form $prp@property; for example, $prp@length.
-
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.
-
In new columns, add the standard design table information, for example, D2@Sketch1 as the header, and dimension values in the column.
-
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:
