Link to Property
You can link the value of a document property, a custom property, or a configuration specific property to the text of a note. If the value of the property changes, the note text changes automatically.
To link a note to a property:
In the Note PropertyManager, click Link to Property
- or -
In the Note Properties dialog box, click Link to Property .
Select the place to link from:
Current document
Model in view to which the annotation is attached (drawings only)
Model in view specified in sheet properties (drawings only)
Component to which the annotation is attached (in assembly documents and assembly drawing documents)
View the list of available properties, which depends on your selection in step 2 and where the note is created.
Part or assembly document. The list includes the properties of the model document, including any custom defined properties.
Drawing sheet or sheet format. The list includes the properties of the drawing document, including any custom defined properties.
Drawing view. The list includes the properties of the model document shown in the view. (If a view is selected when you insert the note, or if the note is attached to the model in a view, the note belongs to the view.)
NOTE: All documents have system-defined properties. Drawings have system-defined properties that you can use to customize a sheet format. For more information on document properties in notes, see Linking Notes to Document Properties
To add a new custom property, or to edit an existing one, click File Properties, then edit the properties on the Summary Information – Custom and Configuration specific tabs.
Select a system-defined or custom property from the list, and click OK.
The Note text shown in the dialog box is the name of the property in the form $PRP:"<property name>". In the document, the note text is the value assigned to the property.
Prefixes for custom properties linked in notes are used as follows:
Prefix
Evaluated from:
$PRP:
Current document
$PRPSHEET:
Model in the view specified in Sheet Properties.
If the model specified in Sheet Properties for custom properties is Default, then for notes belonging to drawing views, the model in the drawing view to which the note belongs is used.
For sheet and sheet format notes, the first view in the FeatureManager design tree is used.
If a view is selected, the model for that view is used for all cases.
$PRPVIEW:
Model in the drawing view to which the note belongs
$PRPMODEL:
Component to which the annotation is attached
Links to dimensions are evaluated from the active document.
If the appropriate document for custom properties cannot be located according to the designations above, the following rules apply:
In edit sheet mode, all sheet format notes are blank. All sheet and drawing view notes show their property names.
In edit sheet format mode, all sheet format notes show their property names.
NOTE: When a note in a drawing is linked to a custom property or a dimension and then the property or dimension is deleted, the note displays ERROR!<variable name>. The parametric text is retained, and you can double-click the note to see the text. As soon as the property or dimension is available, the note updates to the correct value. Other items in the note are not affected.
You can choose whether to display the link error. Select or clear View, Show Annotation Link Errors.
NOTE: If a missing property or dimension is detected when opening a drawing yet to be saved in SolidWorks 2001Plus SP01 or later, a message asks if you want to break the link. If you choose to break the link, SolidWorks replaces the parametric text with the last known value. If no value is available and the note contains no other text, the note is deleted. The message appears only once.