DEFAULT - Intergraph Smart 3D - Reference Data

Intergraph Smart 3D Drawings and Reports Reference Data

Language
English
Product
Intergraph Smart 3D
Subproduct
Drawings and Reports
Search by Category
Reference Data
Smart 3D Version
12.1 (2019)

Allows you to specify a default display value for a new or existing property. The Rule Manager uses a default value whenever the property does not exist in the template file. For a property that uses a text box as the editing option, you can omit the default value. As an example, see the delivered dimLayer property for dimensions.

Schema property default values are the same as code property default values. The modules use these code default values during a drawing update in case the properties do not appear in the .xml template.

In the case of check box and drop-down options, DEFAULT exists as a child node under the POPULATE node.

<POPULATE>
<VALUE NAME="True">-1</VALUE>
<VALUE NAME="False">0</VALUE>
<DEFAULT>False</DEFAULT>

As a child of POPULATE, the value for DEFAULT always reflects the value of one of the NAME attributes of a VALUE node. In the example above, DEFAULT takes the NAME attribute, False, and not the value 0.

In the case of text boxes, DEFAULT exists as a child node under the RANGE node.

<RANGE>
<DEFAULT>0</DEFAULT>

See Also

Label Rule Manager
Appendix: Annotation Rule Manager Customization
XML Structure for Property and Property Group Definitions