Geometric tolerances can be modified using the properties and methods associated with the object, or by changing the values of system variables before creating a Tolerance object.
Tolerances are influenced by several system variables: DIMCLRD controls the color of the feature control frame; DIMCLRT controls the color of the tolerance text; DIMGAP controls the gap between the feature control frame and the text; DIMTXT controls the size of the tolerance text; and DIMTXSTY controls the style of the tolerance text. Use the SetVariable method to set the values of system variables.