AutoCAD Hatch Scale Not Working? 9 Checks and a 25.4x Unit Trap

Hatchy editor with the mm and in switch at the top, herringbone sizes in millimeters and the Software select set to AutoCAD

A hatch pattern’s numbers are drawing units, so a hatch that is far too big, far too small or “too dense” is first a unit question: was the pattern written for the unit your drawing uses? Millimeters against inches is a factor of 25.4 (the imperial library’s ANSI31 spacing of 0.125 is 3.175 in the metric one), which is why one pattern name can look 25 times different in two drawings. Below: nine checks, from that one to hatches that are simply switched off, then how to read the unit of a .pat file and what to do when the file itself is the wrong size.

Nine checks when a hatch is the wrong size or not there

What you see Cause Check and fix
The same pattern is about 25 times bigger or smaller in another drawing or on another PC AutoCAD has two library files, acad.pat (imperial) and acadiso.pat (metric). The drawing’s MEASUREMENT variable picks one: 0 imperial, 1 metric (Autodesk). The two files differ by 3.175 / 0.125 = 25.4 (cadhatch.com). Set MEASUREMENT to the unit the drawing is in and make your templates agree; MEASUREINIT sets the default for a new drawing. For a hatch already placed, cadhatch.com sets MEASUREMENT, changes the hatch’s Scale to another value and back, so it reloads.
A custom .pat file is far too big or too small The numbers in a pattern file are read as drawing units: Autodesk’s ANSI31 example spaces its lines “0.125 drawing units” (Autodesk). MEASUREMENT only chooses between the library files named in the registry settings; our reading of the two pages is that it does not convert a custom file. A file written in millimeters is then 25.4 times too large in an inch drawing and 1,000 times too small in a meter drawing. Read the spacing in the file (next section), then export the pattern again in your drawing’s unit, or multiply Scale by the ratio in the table below.
Changing HPSCALE does nothing to a hatch already drawn, or the Scale box is unavailable HPSCALE “sets the default scale factor for new hatch patterns in this session” and is not saved (Autodesk). In the Hatch dialog, Scale is available only for Predefined and Custom types; a User defined pattern takes Spacing (Autodesk). Select the hatch and edit Scale in the Hatch Editor or the Properties palette (Imaginit); set HPSCALE before you place the next ones.
Right size in model space, wrong size in a layout A hatch’s scale can be set individually or automatically from the scale of each layout viewport. Relative to Paper Space scales the pattern relative to paper space units and is available only from a named layout (Autodesk). For a drawing shown in several viewports at different scales, Autodesk’s help calls annotative hatches more efficient than duplicate hatches with different scale factors (Autodesk LT help); for a layout-only hatch, use Relative to Paper Space.
An annotative hatch disappears when the annotation scale changes With ANNOALLVISIBLE at 0, only annotative objects that support the current annotation scale are displayed; at 1 all are (Autodesk). The variable is saved in the drawing. Set it to 1 as a test: if the hatch returns, it does not support the scale you switched to.
“Hatch spacing too dense, or dash size too small”, or no hatch at all The pattern would generate more lines than the limit allows, so it is rejected or not shown (Autodesk). The limit is HPMAXLINES, 100 to 10,000,000, initial value 100000 in the LT 2022 help, stored in the registry and not in the drawing (Autodesk); earlier releases used the MaxHatch environment variable. Fix the cause first: raise Scale, or correct a unit mismatch (the first two rows), since a unit mismatch makes a pattern 25.4 or 1,000 times too fine in one step. Raising the limit only lets a too-fine hatch through; AutoCAD holds it back to prevent slowdowns (Imaginit).
The hatch is not visible at all Fill mode is off (“controls whether the pattern of a hatch object is suppressed and only its boundary is displayed”), or the hatch’s layer is off or frozen (Autodesk). Set FILLMODE to 1 and run REGEN; turn on or thaw the layer.
The pattern breaks apart after you place or edit a hatch The hatch lies far from the 0,0 origin (Imaginit). Select the hatch and press Set Origin on the Hatch Editor ribbon (the preferred fix); moving the drawing nearer to 0,0 also works but is often unwanted.
“Valid hatch boundary not found” Boundary objects are not all visible in the current view, or the boundary has a gap (Autodesk). Zoom so every boundary object is visible; for a gap, increase HPGAPTOL (default 0) or use Select Boundary Objects instead of picking a point.

Read a .pat file’s unit in 30 seconds

Autodesk’s page on pattern definitions lists no unit line for the AutoCAD format, so the unit is not written in the file; it is implied by the numbers.

  1. Open the .pat file in a text editor. After the name line (*NAME, description) every line is one family of parallel lines: angle, x-origin, y-origin, delta-x, delta-y, then dashes (Autodesk).
  2. Take delta-y, the fifth number: the spacing between the lines of the family, in drawing units.
  3. Compare it with the spacing you intended. A ratio of 25.4, 0.0394 or 1,000 names the unit pair.
  4. Multiply Scale by that ratio, or write the file again in the right unit.
File written in Drawing in Multiply Scale by
millimeters inches 1 / 25.4 = 0.0394
inches millimeters 25.4
millimeters centimeters 0.1
millimeters meters 0.001
inches feet 1 / 12 = 0.0833

This is arithmetic on the spacing rule above, not an AutoCAD setting: the drawn spacing is the file’s number times Scale. A plot scale you already apply multiplies on top of it.

When the pattern file is the problem: write it in your unit

A hatch that is the wrong size in every drawing points at the file, not at the drawing, and a layout such as herringbone, running bond or basketweave is simpler to size once at the source than to correct with a Scale factor on every hatch. Hatchy, our web tool, writes the .pat from a pattern library: you set the pattern’s sizes in real units, check the preview (it draws the lines the file contains), pick AutoCAD in the Software select and press Download .pat.

Hatchy editor with the mm and in switch at the top, herringbone sizes in millimeters and the Software select set to AutoCAD
The mm | in switch sets the unit of the size fields and of the numbers written in the file.
  • The unit is explicit. The mm | in switch at the top sets the unit of the size fields and of the numbers written in the file. A 600 mm plank is 600 in a millimeter file and about 23.62 in an inch file, so at Scale 1 it comes out at 600 mm in a drawing in that unit.
  • The file says which. The first line is a comment, ;units=MM or ;units=INCH, which AutoCAD ignores; it is there for whoever opens the file later.
  • Other drawing units. Hatchy offers millimeters and inches only. For a drawing in meters, centimeters or feet, download the nearest unit and use the Scale ratio from the table.
  • Density still applies. A very fine pattern can hit the HPMAXLINES limit in AutoCAD whoever wrote the file, and a curved pattern with more Arc segments is a denser file.

Hatchy writes a new file. It does not repair hatches already in a drawing, change MEASUREMENT or the layout settings above.

Revit follows different rules

If the same .pat goes to Revit, the AutoCAD rules above do not carry over: a drafting pattern keeps its density on the sheet whatever the view scale. That has its own checklist in Revit cut pattern not showing, and the import errors are in importing a .pat into Revit.

FAQ

Why won’t my hatch show up in AutoCAD?

Check four things: FILLMODE (0 shows only the boundary; set it to 1 and run REGEN), the hatch’s layer (off or frozen), the density limit (a pattern that would draw more lines than HPMAXLINES allows is rejected or not shown, so raise the Scale or fix a unit mismatch), and, for an annotative hatch, ANNOALLVISIBLE (at 0 it shows only at the annotation scales it supports).

How to change the hatch scale in AutoCAD?

Select the hatch and edit Scale in the Hatch Editor or the Properties palette. HPSCALE only sets the default for hatches you place afterwards, in the current session. Scale is available for Predefined and Custom patterns; a User defined pattern uses Spacing instead.

How to change hatch spacing in AutoCAD?

For a User defined pattern, type the distance in Spacing. For a Predefined or Custom pattern the spacing is the number written in the pattern file multiplied by Scale, so change Scale (or use a file written with the spacing you want).

How to reduce hatch size in AutoCAD?

Lower Scale: a smaller number draws the pattern’s lines closer together. If the hatch is 25.4 times or 1,000 times off, the pattern was written in another unit than the drawing; multiply Scale by the unit ratio instead of guessing.

Free: limited to 3 downloads a day

Pro: unlimited, guaranteed to work, priority support

$64 $32 one-time
Save 50%
14-day money-back
Get Pro
Nguyen Huu Khanh

Architect turned developer · New Zealand

khanhnhkts@gmail.com · +642904524504 · WhatsApp