XML_PATH - Intergraph Smart 3D - Reference Data - Hexagon

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
13

Specifies the location in the .xml template where this particular property resides.

XML_PATH exists as a child node under the PROPERTY node:

<PROPERTY NAME="PropertyName">
<XML_PATH>path/to/property/node</XML_PATH>

The XML_PATH value construct is similar to an XPath. The value always begins the root node names of the respective template types, label/ (for labels, north arrows, or matchlines) or /dimension (for dimensions). The path then continues to the .xml node that corresponds to the property, as shown in the following example:

<XML_PATH>dimension/dimensionSettings/priority</XML_PATH>

The above path corresponds to the following location in the template:

<dimension>
<dimensionSettings>
<priority>1</priority>

SHARED Tip An XML_PATH value can contain the @ character, which indicates that the property is stored as an .xml attribute as shown in the following example:

<XML_PATH>label/content/Assembly/@value</XML_PATH>

The above path corresponds to the following location in the template:

<label>
<content>
<Assembly value="AssemblyName"/>

  • XML_PATH has an intentional side effect. If the value contains labelSettings as part of the string, then the property displays under the General section of the Label Rule Manager because nodes in this section might apply to multiple modules or module types at the same time.

  • If the value does not contain labelSettings as part of the string, the property displays under the corresponding parent module.

See Also

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