DRAW Reference Manual

Dimensions : Radial Dimensions : Appearance of Radial Dimensions - Specific Attributes
The Radius/Diameter flag (DFLAG) attribute controls whether the RADIUS or DIAMETER is evaluated by the AKEY attribute as well as whether the dimension line is drawn from the centre (Radius) or across the diameter (Diameter). The default setting is RADIUS.
The Dimension Text (DMTX) attribute has the initial setting #DIM, which gives the value of the dimension controlled by DLFAG. For example for AKEY RINS and DFLAG DIAM, the text ’#DIM’ is evaluated as the inside diameter of the element identified. The resulting value is output on the drawing in place of this codeword. #DIM is a simple case of intelligent text. Refer to Intelligent Text for further information.
The Dimension Line Angle (DDEG) attribute controls the angle at which the dimension line displays, relative to the 2D coordinate system of the VIEW. The default value is 0 (horizontal in the VIEW). Note that this is only horizontal in the Sheet when the VIEW has RCOD UP. DDEG can be set explicitly or by using the cursor (for example, DDEG @).
The Text Radius Flag (DTFLAG) attribute controls whether the text radius DTRAD is measured from the CENTRE, MIDPOINT or CIRCUMFERENCE of the radial dimension. The default setting is CENTRE. For radius dimensions, MIDPOINT is the midpoint between centre and circumference; for diameter dimensions MIDPOINT is the same as CENTRE.
The Text Radius (DTRAD attribute) is a signed distance (in Sheet units) that defines the radial position of the dimension text origin from the centre or circumference (according to the DTFLAG setting) of the dimensioned object. In the latter case, DTRA= 0 (the default value) means that the text origin is positioned at the 2D projection of the circumference of the object dimensioned.
The Dimension Text Angle (DTANGLE) attribute controls the Dimension text angle. Possible settings are:
The Dimension Text Offset (DTOF) attribute defines the displacement of the text position from the text radial position. DTOF is a 2-dimensional array attribute. DTOF(1) defines the displacement along the text path direction (for example, Radial, Horizontal or Vertical depending on the DTANG setting), and DTOF(2) in the text ‘upvector’ direction. The default/initial value of DTOF is (0,0).
For DTANG HORIZONTAL and text outside the circumference, DTOF(1) is horizontal from the text radial position. In this case, the sign of DTOF(1) is determined by the DDEG attribute; for DDEG between -90 and +90, positive DTOF(1) adjusts the text position to the right of the radial position of the dimension text; for DDEG between 90 and 270, positive DTOF(2) adjusts the text position to the left.
Similarly, for DTANG VERTICAL and text outside the circumference, DTOF(1) moves the text up for DDEG between 0 and 180; and down for DDEG greater than 180 and less than 360.
In all three DTANG cases, if the text lies inside the circumference, the direction in which DTOF(1) is applied is reversed. DTOF(1) is always applied in the direction away from the Circumference.
Thus for DTANG Horizontal and DDEG=45, when the text is outside the circumference then DTOF(1) adjusts text to the right. However when text is inside the circumference, then DTOF(1) adjusts text to the left.
The Dimension Style (DSTYLE) attribute, combined with DTANG, controls the overall dimension style. Possible settings are:
The LEADERLINE style displays a radial leaderline from the circumference to the text radial position. If the text is horizontal, then the leaderline is extended horizontally to the text offset position. No dimension-line is drawn.
Text underlining is controlled by the Dimension Text Underlining attribute, DTUL. The attribute indicates whether the leaderline is extended to underline the text or not. If DTUL is ON, the leaderline is always extended to underline the text even if this causes it to pass through the text string. The line is drawn through the text offset position - thus there is overlining for ALIG TBODY. DTUL is ignored for DSTYL DIMLINE unless the text radial position is outside the circumference. The default setting is OFF.
The EXTERNAL style is a variant on the Dimline style. For Diameter dimensions, two short radial lines are drawn outwards from the circumference with terminators on the circumference. If the text radial position lies outside the circumference, then one line is extended to the text offset position (with optional text underlining).
For Radius dimensions with EXTERNAL style the appearance depends on the text radial position. If it lies inside the circumference, then a single short radial line is drawn outwards from the circumference with a terminator on the circumference.
If the text radial position lies outside the circumference, then the dimension is drawn exactly the same as in the DIMLINE style except that the terminator direction is flipped to be outside the dimension line. The example illustrates the EXTERNAL style (with DTUL ON).

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo