Skip to content
Tutorials Center
My learning

Topics

Lesson 26 of 38 ยท Dimensions and Layouts

AutoCAD Dimension Styles: DIMSTYLE, DIMSCALE and Tolerances

Control how AutoCAD dimensions look with the Dimension Style Manager: lines, arrows, text, fit, primary units, alternate units and tolerances, plus DIMSCALE and annotative settings.

A dimension style is a saved set of dozens of settings that decide how every dimension looks: arrowhead shape, text height, gap sizes, decimals, units and tolerances. Instead of fixing each dimension by hand, you adjust the style once and every dimension using it updates. Companies publish dimension styles in their templates so every drawing looks the same.

AutoCAD cannot run on this site. The dialog tabs and variables are described as they are in the program, and the runnable examples are labelled JavaScript stand-ins that model formatting and scale rules.

The Dimension Style Manager

Type DIMSTYLE (alias D, or DDIM) or open Annotate > Dimensions and click the arrow at the panel's corner. Pick a style such as Standard or ISO-25, then press New (to base a new style on it), Modify (change the style, updating all dimensions that use it), Override (apply temporary changes to the next dimensions) or Compare.

Each style has seven tabs:

Tab What it controls Key variables
Lines Dimension line and extension line color, lineweight, extension beyond line, offset from origin DIMEXE, DIMEXO, DIMDLI
Symbols and Arrows Arrowhead type and size, center marks, arc length symbol, radius jog DIMASZ, DIMCEN
Text Text style, height, placement, alignment (horizontal, aligned with dimension line, ISO standard) DIMTXT, DIMGAP
Fit What moves when space is tight; text placement; overall scale DIMSCALE
Primary Units Format, precision, prefix and suffix, zero suppression, measurement scale factor DIMDEC, DIMLFAC
Alternate Units A second unit in brackets (inch beside millimeter) DIMALT, DIMALTF
Tolerances Plus/minus limits, limits, basic DIMTOL, DIMTP, DIMTM

Changes to a style update dimensions already placed with it. That is the whole point of styles: avoid per-dimension overrides.

Dimension variables are system variables. You can type DIMTXT at the command line to see its value, but changing variables directly creates an override that does not belong to a saved style. Always prefer the Style Manager and save the style.

Scale: DIMSCALE and annotative styles

Dimension sizes (text height, arrows, gaps) are set in paper size. When the model is drawn full size and plotted at 1:50, a 2.5 mm text would be 2.5 drawing units in the model and invisibly small. Two solutions exist:

  1. Annotative dimension styles (select Annotative on the Fit tab). The sizes scale automatically with the annotation scale (see viewport scale). This is the modern approach.
  2. DIMSCALE (Fit tab > Use overall scale of). All size values are multiplied by this factor. Set it to the plot scale denominator: 50 for 1:50. It does not change measured values, only the size of arrows and text.

When you dimension inside a layout viewport with a non-annotative style, set DIMSCALE to 0: AutoCAD then computes the scale from the viewport.

JS Stand-in: dimension sizes after DIMSCALE

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Primary units and rounding

On the Primary Units tab you choose Unit format (Decimal, Architectural, Engineering, Fractional), Precision, Decimal separator (period or comma), Rounding, Prefix and Suffix, and Zero suppression. The Measurement scale factor (DIMLFAC) multiplies measured lengths; use 0.001 to show meters in a millimeter drawing, or a negative value inside a viewport, so dimensions in paper space read the model's size.

JS Stand-in: format a measurement like the Primary Units tab

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Tolerances

Mechanical drawings state how far a size may vary. The Tolerances tab offers four methods:

  • Symmetrical: 25.00 +/- 0.05
  • Deviation: 25.00 +0.05 -0.02 (separate plus and minus)
  • Limits: 25.05 over 24.98, the allowed maximum and minimum
  • Basic: a boxed theoretical size with no tolerance

Set precision, scaling for height, and the vertical position of the tolerance text. A tolerance on a style applies to every dimension using it, so for single dimensions use a style override or the DIMTOL variable from the Properties palette. For geometric tolerances (feature control frames, datums), use TOLERANCE, which opens a dialog to build the frame, and QLEADER/MLEADER to attach it.

JS Stand-in: tolerance limits for a shaft

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Alternate units and style families

Alternate units show a second system in square brackets, such as [1.25] beside 31.8. Set the multiplier on the Alternate Units tab (25.4 for millimeters to inches). In the Style Manager you can also set sub-styles: pick a style, press New, and choose Use for: Linear dimensions, Angular dimensions, Radius dimensions, Diameter dimensions, Ordinate dimensions or Leaders. The family keeps one parent style with different rules for each type (for example angle text without a tolerance).

Sharing styles

  • Save styles in your template (.dwt) so new drawings start correct.
  • DesignCenter drags styles between drawings.
  • STANDARDS and the .dws file (CAD standards) check styles, layers and text styles for compliance.
  • Use DIMSTYLE > Set Current to switch; the active style shows in the Annotation panel.

Common mistakes

  • Modifying DIMTXT through the command line and not the style, creating an override.
  • Setting DIMSCALE to the plot scale and making the style annotative; the sizes double up.
  • Mixing units in one style (prefix/suffix) and plotting wrong numbers.
  • Applying a tolerance to a style when only one dimension needs it.
  • Using DIMLFAC and then scaling geometry; the numbers no longer match.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Where do you change text height for all dimensions that use a style?

    The Text tab holds text style and height. Changing the style updates every dimension that uses it.
  2. 2. A drawing is plotted at 1:50 with a non-annotative style. What DIMSCALE gives paper-size 2.5 mm text?

    DIMSCALE multiplies the size settings, so use the scale denominator, 50.
  3. 3. Which tolerance method shows the largest and smallest allowed values stacked?

    Limits displays the maximum above the minimum. Symmetrical uses +/-, and Deviation lists separate plus and minus values.
  4. 4. What does DIMLFAC change?

    DIMLFAC is the measurement scale factor, used for unit conversion or for dimensioning inside scaled viewports.

Summary

  • A dimension style stores look, units and tolerances; change the style, not individual dimensions.
  • DIMSTYLE has seven tabs: Lines, Symbols and Arrows, Text, Fit, Primary Units, Alternate Units, Tolerances.
  • Use annotative styles or DIMSCALE so sizes look right at the plot scale.
  • Set precision and units in Primary Units; add tolerances for manufacturing parts.
  • Keep styles in templates and check them with CAD standards.

Next: Model space, paper space and layouts