How to Use Hatch Command in AutoCAD – Complete Guide
How to Use Hatch Command in AutoCAD – Complete Guide
Last Updated: August 29, 2026
The HATCH command in AutoCAD is used to fill enclosed areas with patterns, solid fills, or gradients. Hatch is commonly used in architectural, civil, structural, mechanical, and other technical drawings to visually represent materials, sections, or different areas.
For example, a floor plan may use hatch patterns to represent walls, a section drawing may use hatch to indicate cut materials, and a site drawing may use different fills to distinguish surfaces.
This guide explains how to use the Hatch command step by step, including practical examples, important settings, common problems, and useful tips.
Note: The appearance and available Hatch options may vary depending on your AutoCAD version.
What Is the Hatch Command in AutoCAD?
The Hatch command creates a pattern or fill inside an enclosed boundary.
You can use Hatch to create:
Solid fills
Standard hatch patterns
Material-style patterns
Section representations
Surface indications
Graphical distinctions between areas
The command is particularly useful because it allows a drawing to communicate information visually without adding unnecessary text.
How to Start the Hatch Command
There are several ways to start Hatch.
Method 1: Command Line
Type:
HATCH
and press Enter.
Method 2: Ribbon
Open the appropriate Hatch or Draw panel from the AutoCAD interface, depending on your workspace and version.
Method 3: Shortcut
You can type:
H
and press Enter.
AutoCAD will start the Hatch command in configurations where H is assigned to Hatch.
Basic Steps to Create a Hatch
Let's start with a simple example.
Suppose you have a rectangle representing a room or drawing area.
Step 1: Create a Closed Boundary
First create an enclosed shape using commands such as:
RECTANG
or
PLINE
The boundary must be suitable for hatching.
For example:
Rectangle = 4,000 mm × 3,000 mm
Step 2: Start Hatch
Type:
HATCH
and press Enter.
Step 3: Select the Area
Choose the area inside the closed boundary.
AutoCAD will identify the enclosed region.
Step 4: Select a Pattern
Choose an appropriate hatch pattern.
For example, you may use:
ANSI31
Solid
Other available patterns
Step 5: Adjust the Scale
If the pattern appears too dense or too large, change the hatch scale.
Step 6: Adjust the Angle
If necessary, change the hatch angle.
Step 7: Confirm
Finish the Hatch command.
The selected area will now display the chosen hatch.
Practical Example 1: Hatch a Concrete Slab
Suppose you have a rectangular slab:
Length = 5,000 mm
Width = 3,000 mm
You want to show the slab using a hatch pattern.
Workflow
Draw the rectangle.
Start
HATCH.Select inside the rectangle.
Choose an appropriate pattern.
Adjust the scale.
Check the preview.
Confirm the hatch.
The hatch now provides a visual indication that the rectangle represents a particular material or construction element.
The exact pattern used should follow the drawing standard or project requirements.
Practical Example 2: Hatch a Wall in a Floor Plan
Suppose you have a simple floor plan with wall boundaries.
You can use Hatch to visually distinguish the wall area from the room area.
Step 1
Make sure the wall boundary is properly closed.
Step 2
Start:
HATCH
Step 3
Select the wall area.
Step 4
Choose an appropriate hatch pattern or solid fill.
Step 5
Adjust the scale so the pattern is clearly visible.
Step 6
Confirm the hatch.
This can make a floor plan easier to read.
Practical Example 3: Solid Hatch
Sometimes a pattern is unnecessary and you simply want to fill an area.
For example, you may want to highlight:
A filled symbol
A column
A small section
A graphical area
In this situation, choose the Solid hatch option.
Workflow
Start
HATCH.Select the enclosed area.
Choose Solid.
Preview the result.
Confirm.
For very small areas, a solid hatch can often be easier to read than a detailed pattern.
Understanding Hatch Pattern
A hatch pattern determines how the selected area is filled.
Different patterns can be used for different graphical purposes.
One commonly encountered pattern is:
ANSI31
It produces a simple diagonal line pattern.
However, don't assume that one particular pattern represents a specific material in every organization.
Always follow the relevant drawing standard, office standard, or project specification.
Hatch Scale
Hatch Scale controls the spacing and visual size of the hatch pattern.
This is one of the most important Hatch settings.
Example
Suppose you apply a hatch and it appears extremely dense.
The pattern may be too small relative to your drawing.
Increase the hatch scale and preview the result.
If the hatch looks too widely spaced, reduce the scale.
Important
There is no universal hatch scale that works for every drawing.
The appropriate value depends on:
Drawing units
Drawing scale
Object size
Plot scale
Pattern
Project standards
Hatch Angle
Hatch Angle controls the orientation of the hatch pattern.
For example, a diagonal hatch may normally appear at one orientation.
Changing the angle can rotate the pattern.
Practical Example
Suppose two adjacent areas use the same hatch pattern but need to be visually distinguished.
You can use different hatch angles if appropriate.
This can make the drawing easier to interpret.
Hatch Transparency
Transparency can be useful when you want the underlying drawing to remain visible through a hatch.
For example, a transparent fill can be useful for visually highlighting:
Zones
Areas
Site regions
Design options
However, use transparency carefully because it can affect printed output and drawing readability.
Always check the final plot or PDF.
Associative Hatch
An associative hatch can remain associated with its boundary.
This can be useful when the boundary changes.
Example
Suppose you hatch a room boundary and later modify the boundary.
Depending on the hatch and boundary configuration, the hatch may update with the boundary.
This can save time compared with deleting and recreating the hatch manually.
Important
Always verify the hatch after modifying its boundary.
A complex or damaged boundary can cause hatch problems.
Hatch Origin
Hatch patterns can appear differently depending on their origin.
If two areas use the same pattern but the pattern alignment appears inconsistent, checking the hatch origin can help.
This is particularly noticeable when working with larger patterns or multiple adjacent areas.
Hatch Boundary Detection
AutoCAD can identify enclosed areas when you use the Hatch command.
However, the boundary must be properly enclosed for reliable automatic detection.
If AutoCAD cannot identify the area, check the geometry before assuming the Hatch command is defective.
What to Do When Hatch Does Not Work
One of the most common Hatch problems is:
"AutoCAD is not creating the hatch."
There can be several reasons.
Problem 1: Boundary Is Not Closed
The selected area may contain a small gap.
Solution
Check the boundary carefully.
Useful commands may include:
PEDITJOINTRIMEXTEND
Close the boundary and try Hatch again.
Problem 2: Very Small Gap
Sometimes the boundary looks closed but contains a tiny gap.
This can prevent AutoCAD from detecting the intended area.
Solution
Zoom in closely around the boundary.
Check:
Corners
Line endpoints
Intersections
Polyline connections
Correct the gap and retry the Hatch command.
Problem 3: Hatch Pattern Is Too Dense
If the hatch appears almost completely filled with lines, the scale may be inappropriate.
Solution
Increase the hatch scale and preview the result.
Problem 4: Hatch Pattern Is Too Large
If only a few hatch lines appear across a large area, the scale may be too large.
Solution
Reduce the hatch scale.
Problem 5: Hatch Is Covering Other Objects
A hatch can visually obscure geometry depending on its configuration and draw order.
Solution
Check the hatch's draw order.
You may need to send the hatch behind other objects so that important geometry remains visible.
Problem 6: Hatch Is Not Visible
If you created a hatch but cannot see it clearly, check:
Hatch pattern
Scale
Layer visibility
Layer color
Hatch color
Transparency
Display settings
Also make sure the hatch layer is not turned off or frozen.
Editing an Existing Hatch
You don't necessarily need to delete and recreate a hatch when you want to change it.
Select the existing hatch and use the available Hatch editing controls.
Depending on your AutoCAD version, you may be able to modify:
Pattern
Scale
Angle
Color
Transparency
Boundary
Associativity
This is usually faster than starting over.
How to Remove a Hatch
If you want to delete a hatch:
Select the hatch.
Press Delete.
Alternatively, use:
ERASE
and select the hatch.
Be careful when selecting because a drawing may contain several overlapping objects.
How to Hatch Multiple Areas
You can hatch multiple suitable areas during the same Hatch operation.
Example
Suppose a floor plan contains several wall regions.
You can:
Start Hatch.
Select the first area.
Select additional areas.
Apply the desired pattern.
Adjust scale and angle.
Confirm.
This can be faster than creating each hatch individually.
Hatch and Layers
Using dedicated layers for hatch objects can make drawings easier to manage.
For example, a project might use separate layers for:
Wall hatch
Concrete hatch
Floor hatch
Section hatch
Site hatch
The exact layer naming system should follow your project's CAD standards.
Why Use Separate Layers?
It allows you to:
Turn hatches on or off.
Change hatch display.
Control plotting.
Manage complex drawings.
Keep the drawing organized.
Hatch in a Section Drawing
Hatch is commonly used in sectional drawings to indicate areas that have been cut.
For example, a building section might use different graphical patterns for different construction materials.
However, the correct representation depends on the applicable drafting standard and project requirements.
Basic Workflow
Draw the section geometry.
Ensure the material boundary is closed.
Start Hatch.
Select the enclosed material region.
Choose the required pattern.
Adjust scale and angle.
Review the drawing.
Plot a test PDF if necessary.
Hatch vs Solid Fill
Both can fill an area, but they serve different visual purposes.
| Feature | Hatch Pattern | Solid Fill |
|---|---|---|
| Appearance | Patterned | Completely filled |
| Best for | Material/section indication | Highlighting or simple fills |
| Pattern scale | Adjustable | Not applicable |
| Pattern angle | Usually adjustable | Not applicable |
| Small areas | May become crowded | Often easier to read |
Choose the method that provides the clearest drawing according to your project standards.
Best Practices for Using Hatch
For professional and readable drawings:
Use closed boundaries whenever possible.
Use meaningful hatch patterns.
Keep hatch scale appropriate for the drawing.
Avoid unnecessarily dense patterns.
Put hatches on appropriate layers.
Check hatch visibility before plotting.
Use transparency only when it improves readability.
Follow applicable drawing standards.
Review the hatch after modifying boundaries.
Keep the drawing organized.
Frequently Asked Questions
What is the Hatch command used for in AutoCAD?
Hatch is used to fill enclosed areas with patterns, solid fills, or other available fill types.
What is the shortcut for Hatch?
H is commonly used to start the Hatch command.
What command opens Hatch?
Type:
HATCH
and press Enter.
Why is AutoCAD not allowing me to hatch an area?
The most common reason is that AutoCAD cannot detect a suitable closed boundary. Check for gaps, overlapping geometry, or other boundary problems.
How do I change Hatch scale?
Select the hatch and modify its scale through the Hatch editing controls or Properties, depending on your AutoCAD version.
Can I change the Hatch angle?
Yes. The hatch angle can generally be changed through the Hatch settings or Properties.
Can Hatch be placed on a separate layer?
Yes. Creating dedicated hatch layers can make drawings easier to manage and control during plotting.
Can I use Hatch in civil drawings?
Yes. Hatch can be useful in civil, architectural, structural, and other technical drawings when graphical material or area representation is required.
Useful Commands Related to Hatch
| Command | Purpose |
|---|---|
HATCH | Creates a hatch |
H | Common shortcut for Hatch |
HATCHEDIT | Edits an existing hatch |
PEDIT | Edits polylines |
TRIM | Trims objects |
EXTEND | Extends objects |
JOIN | Joins suitable objects |
ERASE | Removes objects |
PROPERTIES | Displays object properties |
Command availability and behavior can vary depending on the AutoCAD version.
Practical Exercise
If you are learning Hatch for the first time, try this simple exercise.
Drawing
Create a rectangle:
Length: 4,000 mm
Width: 3,000 mm
Task
Apply a diagonal hatch to the rectangle.
Steps
Draw the rectangle.
Start
HATCH.Select the inside of the rectangle.
Choose a suitable hatch pattern.
Adjust the scale.
Adjust the angle if necessary.
Confirm the hatch.
Select the hatch and review its properties.
Change the scale and observe how the pattern changes.
Undo the change and keep the setting that provides the clearest result.
This small exercise helps you understand the relationship between boundary, pattern, scale, and angle.
Conclusion
The Hatch command is an important AutoCAD tool for representing materials, sections, surfaces, and selected areas visually.
The most important concepts to understand are:
Creating a suitable boundary
Selecting the correct hatch pattern
Adjusting hatch scale
Adjusting hatch angle
Using appropriate layers
Maintaining drawing readability
Checking the hatch before plotting
Rather than using the same hatch settings for every drawing, choose the pattern, scale, and display according to the drawing requirements and applicable standards.
With regular practice, Hatch becomes a quick and useful part of your everyday AutoCAD workflow.
Note: AutoCAD and Autodesk are trademarks or registered trademarks of Autodesk, Inc. Simple AutoCAD Tutorials is an independent educational website and is not affiliated with, sponsored by, authorized by, or endorsed by Autodesk, Inc.
Comments
Post a Comment