Fills an enclosed area or selected objects with a hatch pattern, solid fill, or gradient fill.
Access Methods
Tool Set:
.
Menu:
.
The Hatch visor or Hatch and Gradient dialog box is displayed. If you prefer using the Hatch and Gradient dialog box, set the HPDLGMODE system variable to 1.
If you enter
-hatch at the Command prompt, options are displayed.
Note:
- To prevent memory and performance problems, the maximum number of hatch lines created in a single hatch operation is limited. However, you can change the maximum number of hatch lines with the HPMAXLINES system variable.
- To maintain performance for hatches with non-continuous hatch lines, choose a predefined hatch
pattern rather than loading and setting a non-continuous
linetype. The HPLINETYPE system variable suppresses the display of non-continuous linetypes in hatches by default.
- To control whether object snaps ignore hatch objects, add or subtract 1 from the OSOPTIONS system variable.
Choose from several methods to specify the boundaries of a hatch.
- Specify a point in an area that is enclosed by objects.
- Select objects that enclose an area.
- Specify boundary points using the -HATCH Draw option.

The following prompts are displayed.
- Pick internal point
- Determines a boundary from existing objects that form an enclosed area around the specified point.
- Select objects
- Determines a boundary from selected objects that form an enclosed area.
- Draw
- Uses specified points or creates basic geometric shapes to define new boundaries to hatch or fill.
The Mode option controls how the new boundary is defined, an area or a path.
As you specify points for the polyline boundary or path, you can define both straight and arc segments using options similar to the
PLINE command. When you done, press Enter to complete the polyline boundary or path.
Note: To close the polyline boundary or path, use the Close option. Do not make the first and last points coincident.
The following options are available:
- Mode: Sets the current hatch boundary drawing method.
- Area - Defines a closed boundary from specified points or the basic geometric shape created. The area of the closed boundary defines the hatch or fill.
- Path - Defines an open or closed path from which a closed boundary is derived. The Alignment and Width options define the direction and area of the closed boundary to hatch or fill.
- Rectangle: Defines a rectangular boundary using the same options as the
RECTANG command.
- Circle: Defines a circular boundary using the same options as the
CIRCLE command.
- Alignment: Defines the alignment of the closed boundary to the path drawn. Alignment can be set from the center, inside or outside of the path. (Available only when Path mode is active.)
- Width: Defines the width of the closed boundary from the path drawn. (Available only when Path mode is active.)
- Undo
- Removes the last hatch pattern you inserted with the currently active HATCH command.
- Settings
- Opens the Hatch and Gradient dialog box, where you can change settings.