Uses data from reports to label objects in drawings. Typically, the value is an item number, but data from any field in the report can be passed in. Two conditions must exist for this content module to work properly:
-
The drawing view must be linked to a report. If this condition is not met, an error is logged in the SP3D Error Log.
-
The item being labeled in the view style must be in the report. If this condition is not met, a question mark (?) is displayed.
Type -1 to suppress the label when an error occurs.
1 - Error label |
Type 0 to display the label regardless of an error.
1 - Empty label |
Usage in Label Template XML
<label>
<content>
<contentModule value="DrawingReferenceLabelContent"/>
<ID attributeName="ItemTag">ItemTag.rtp</ID>
<ignoreError>0</ignoreError>
</content>
</label>
Customization
attributeName
Specifies the name of a label attribute and the report template used to define the contents of the label. You can define the report template location in the label template XML.
ignoreError
Specifies whether or not the system places a label if the software returns no content or an error for the label.