Default (DrawingLabelHelper) - Intergraph Smart 3D - Reference Data

Intergraph Smart 3D Drawings and Reports Reference Data

PPMProduct
Intergraph Smart 3D
PPMCategory_custom
Reference Data
Version_SThreeD_Custom
12.1 (2019)

Outputs data in a text box that is taken from a specified report label. 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 Smart 3D 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 0 to display the label regardless of an error.

1 - Error label

Type -1 to suppress the label when an error occurs.

1 - Empty label

Usage in Label Template XML

<label>
<content>
<contentModule value="DrawingLabelHelper"/>
<ID attributeName="Equipment Plan_Equipment_Name">
Equipment Plan_Equipment_Name.rtp</ID>
<ignoreError>-1</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.

The ignoreError property is unavailable when you define the symbol path label. For more information, see Symbol Path Label.

symbolPathLabel

Specifies which report template contains the symbol file names for the label.

  • The ID attributeName value must match the name in the Value box in the Text Box Properties dialog box for the label template .sym file you are modifying, as shown below:

Examples

Equipment label:

Bubble label with no content and ignoreError value of 0 (or ignoreError is not defined):

Bubble label with no content and ignoreError value of -1: