How to Add Hatch in AutoCAD: Step-by-Step Guide
To add a hatch in AutoCAD, use the
HATCH command, then select the area you want to fill. Choose a hatch pattern and adjust its scale and angle before applying it to the selected boundary.Syntax
The basic syntax to add a hatch in AutoCAD is using the HATCH command followed by selecting the boundary and choosing the pattern.
- HATCH: Starts the hatch creation process.
- Pattern: The design used to fill the area (e.g., solid, ANSI31).
- Boundary: The closed area where the hatch will be applied.
- Scale: Adjusts the size of the hatch pattern.
- Angle: Rotates the hatch pattern inside the boundary.
autocad command line
Command: HATCH Select internal point or [Pick Points/Select objects]: (click inside closed area) Hatch pattern [ANSI31/ANSI32/...] <ANSI31>: ANSI31 Specify hatch scale <1.0>: 1 Specify hatch angle <0>: 0 Press Enter to apply hatch
Output
A hatch pattern fills the selected closed area with the chosen design.
Example
This example shows how to add a simple ANSI31 hatch pattern inside a rectangular boundary.
autocad command line
1. Draw a rectangle using the <code>RECTANGLE</code> command. 2. Type <code>HATCH</code> and press Enter. 3. Click inside the rectangle to select the boundary. 4. Choose the <code>ANSI31</code> pattern from the hatch pattern list. 5. Set scale to <code>1</code> and angle to <code>0</code>. 6. Press Enter to apply the hatch.
Output
The rectangle is filled with the ANSI31 hatch pattern, showing diagonal lines inside the shape.
Common Pitfalls
Common mistakes when adding hatch in AutoCAD include:
- Trying to hatch an open boundary, which will fail because the area is not closed.
- Using an incorrect scale, making the hatch pattern too large or too small to see.
- Not selecting the internal point properly, causing the hatch to not appear.
- Forgetting to press Enter after setting options, which cancels the hatch command.
autocad command line
Wrong way: Command: HATCH Select internal point or [Pick Points/Select objects]: (click outside boundary) Error: Boundary is not closed. Right way: Command: HATCH Select internal point or [Pick Points/Select objects]: (click inside closed boundary) Hatch applied successfully.
Output
Error message if boundary is open; hatch fills area if boundary is closed.
Quick Reference
| Step | Action | Description |
|---|---|---|
| 1 | Type HATCH | Starts the hatch command |
| 2 | Select Boundary | Click inside a closed area to hatch |
| 3 | Choose Pattern | Pick a hatch pattern like ANSI31 or Solid |
| 4 | Set Scale | Adjust size of the hatch pattern |
| 5 | Set Angle | Rotate the hatch pattern if needed |
| 6 | Press Enter | Apply the hatch to the selected area |
Key Takeaways
Use the HATCH command and click inside a closed boundary to add a hatch.
Choose an appropriate hatch pattern and adjust scale and angle for best appearance.
Ensure the boundary is fully closed to avoid errors when applying hatch.
Press Enter after setting options to apply the hatch successfully.
Use the Quick Reference table to remember the hatch steps easily.