cadblockdwg

How-to guide · how to add a hatch to a closed area in autocad

How to add a hatch to a closed area

DWGDXFFree1,145 words

By Sumana Kumar · Published 20 Sept 2025 · Updated 26 Apr 2026

Hatching fills an enclosed region with a pattern — brick, concrete, insulation, a solid colour — and it is how a drawing communicates materials and reads as more than line work. The HATCH command makes it quick when the area is cleanly closed, but it is also one of the commands that most often refuses to cooperate, throwing a 'valid hatch boundary not found' error when the region is not quite sealed. Understanding both the easy path and the failure modes makes hatching painless.

This guide covers filling a closed area by picking inside it, the alternative of selecting a boundary object, setting the pattern, scale and angle so the fill reads correctly, and — crucially — diagnosing and fixing the boundary problems that stop a hatch from filling. It applies whether you are poching a wall, filling a paved area on a site plan, or shading a symbol. Get the boundary clean and hatching becomes the satisfying final touch on a drawing.

Step 1 — Start the HATCH command

Type HATCH (or H) and press Enter, or pick Hatch from the Draw panel on the ribbon. The Hatch Creation contextual ribbon tab appears, giving you live control over the pattern, scale, angle and colour while you work. The command is now waiting for you to tell it where to fill.

The ribbon's Pattern panel shows the available hatch patterns — solid fills, standard material patterns like brick and concrete, and ANSI/ISO sets. Pick the pattern before you place the hatch, or change it afterward; either way the contextual tab is where the settings live while the command is active.

Step 2 — Pick a point inside the closed area

The easiest method is 'Pick Points'. With HATCH running, simply click inside the enclosed region you want to fill. AutoCAD analyses the surrounding geometry, finds the closed boundary around your click, and previews the fill. Click in several enclosed regions to hatch them all at once, then press Enter to finish.

This pick-point method is the everyday workflow because it does not require you to select the boundary objects — AutoCAD works out the boundary for you. It only works when the area is genuinely closed, which is why a clean boundary is the whole game. When it works, it is instant; when it fails, it is almost always because the region is not sealed.

Step 3 — Or select boundary objects directly

The alternative to picking a point is selecting the boundary objects themselves — choose 'Select' (Select Objects) and click the closed polyline, circle or set of lines that bound the area. AutoCAD hatches inside the selected boundary. This method is useful when the boundary is a single closed object, such as a polyline or circle, and it avoids the boundary-detection step.

Select is also the reliable fallback when pick-point struggles in a busy drawing where AutoCAD has trouble tracing the boundary among lots of overlapping geometry. If you have a clean closed polyline around the region, selecting it directly is often faster and more predictable than picking an internal point.

Step 4 — Set pattern scale and angle

A hatch that fills but looks wrong is usually a scale problem. If the pattern appears as a solid blob, the scale is too small for the area — increase it. If it looks too sparse or shows just one or two lines, the scale is too large — decrease it. Set the scale in the Properties panel of the Hatch Creation tab and watch the live preview until the pattern reads correctly at your drawing scale.

Angle rotates the pattern — useful for showing different materials distinctly or aligning hatching with a building grid. For solid fills, scale is irrelevant and you choose a colour instead. Spend a moment getting scale right: a correctly-scaled material hatch is legible at plot scale, while a wrong-scaled one is either a black smudge or invisible.

Fixing 'valid hatch boundary not found'

This is the error everyone hits. It means the region you tried to hatch is not fully closed — there is a gap somewhere in the boundary, however small. Common causes are lines that look joined but have a tiny gap at the corner, lines that overshoot past the corner, or duplicate boundary lines confusing the trace. The fix is to find and close the gap.

Zoom in on the corners and check for gaps; use the 'Gap Tolerance' setting in the Hatch ribbon to let AutoCAD bridge small gaps automatically up to a limit you set, which handles minor imperfections. For persistent trouble, run OVERKILL to clear duplicate boundary lines, then draw a clean closed polyline around the region with BOUNDARY or PLINE and hatch that. A genuinely closed boundary almost always hatches first time.

Associative hatches and editing

By default hatches are associative, meaning the fill updates automatically when you edit the boundary — stretch the wall and the poché stretches with it. This is usually what you want, so leave associativity on. If you later edit a boundary and the hatch does not follow, associativity may have been lost (often after the boundary object was deleted and replaced); re-hatch to restore it.

To change an existing hatch, select it and use the Hatch Editor (or HATCHEDIT) to swap the pattern, rescale or recolour it. Double-clicking a hatch opens its properties for quick edits. Keep hatches on a dedicated layer so you can freeze them for a clean line drawing and control their colour and plot style independently of the geometry they fill.

Free download

Browse the full library — DWG & DXF, no signup.

Download CAD blocks

Questions

Frequently asked

How do I fill a closed area in AutoCAD?+

Type HATCH, choose a pattern on the Hatch Creation ribbon, then click inside the enclosed region with Pick Points. AutoCAD finds the surrounding boundary and fills it. You can click several regions before pressing Enter to hatch them all at once.

Why does AutoCAD say 'valid hatch boundary not found'?+

The region is not fully closed — there is a gap in the boundary. Lines may not quite meet at a corner, may overshoot, or duplicates may confuse the trace. Find and close the gap, raise the Gap Tolerance to bridge small gaps, or draw a clean closed polyline and hatch that.

My hatch fills as a solid black blob. How do I fix it?+

The pattern scale is too small for the area, so the lines pack together. Increase the hatch scale in the Hatch Creation ribbon's Properties panel and watch the preview until the pattern reads correctly. If the hatch looks too sparse instead, decrease the scale.

What does an associative hatch do?+

An associative hatch updates automatically when you edit its boundary — stretch or move the boundary and the fill follows. It is on by default and usually what you want. If a hatch stops following its boundary, associativity was lost; re-hatch the region to restore it.

Related downloads

Blocks for this guide

Popular blocks to download

Related categories

Related guides