The dimension rule is not responsible for assigning the dimension units to automatic dimensions. However, the dimension rule points to another XML file, called the dimension template, that influences the unit assignment. The dimension template XML file contains the settings that further control the placement and appearance of dimension in the orthographic drawings.
You edit the dimension template XML files with a text or XML editor. Rename any customized dimension templates. Do not use the delivered rule names for customized dimension templates.
Several example dimension template XML files are delivered with the software and are located on the SharedContent share in the \Drawings\Catalog\Dimensions\Templates folder.
The setting in the template that influences dimension unit display is <dimensionContentModules>. In each dimension template, you should set <dimensionContentModules> to the dimension style used to create dimensions in the drawing. The values available for this setting determine whether the software places the dimension vertical, horizontal, radial, or angular. To determine the dimension units, the various content modules refer to the dimension formatting saved either in the drawing template file (for volume and by query drawing types) or in the drawing itself (for composed drawings).
We recommend that you maintain a separate dimension template for each dimension rule you create.
For manual dimensioning, the software looks in the Linear_A_HV dimension template for the value of the dimension content module during the update of manually placed dimensions. For more information, see Manual Dimensioning.
The <dimensionStyleSettings> setting in the dimension templates is not used by the software at this time. However, when creating drawings, we recommend that the active dimension style in the selected border template have the same name as the <dimensionStyleSettings> setting in the dimension template to avoid problems in future software releases. Rename any customized border templates. Do not use the delivered border template name for customized border templates.
The drawing dimension XML Files are discussed further in the Intergraph Smart 3D Programmer's Guide under Extending the Capabilities of the Software. Contact your administrator or Intergraph Support if you need the Intergraph Smart 3D Programmer's Guide. You can find support information on our web site http://support.intergraph.com.
By default, dimension control generators use the settings in the Linear_A_HV.xml dimension template. By using <overallDimension>, you can override Linear_A_HV.xml and select another template for overall dimensions. In the example below, Piping Plan_Pipes_Horizontal.xml is used as the dimension template for piping parts:
<overallDimension value="Piping Plan_Pipes_Horizontal">
You can define the layer on which your dimensions display in the drawing by editing the dimension rule template XML file. After the <dimensionStyleSettings> section of the XML file, add a <dimensionLayerSettings> definition using the <dimLayer> tag, like the one shown in the example below, that defines the layer on which you want the dimensions placed:
If the layer does not already exist in the template you are using to create drawings, the software creates the layer automatically.