Command Entry: -HATCH

← Prev | ↑ Chapter | Next → | Index | Symbols

Command Entry: -HATCH

Name

-HATCH

Aliases

-BH, -B

Synopsis

Uses command prompts to fill an enclosed area or selected objects with a hatch pattern, solid fill, or gradient fill.

Options

Properties / Select objects / draw Boundary / Remove boundaries / Advanced / draw Order / Origin / ANnotative / hatch COlor / LAyer / Transparency / Solid / User defined / Gradient / Undo

Argument Sequence

Specify an internal point inside a closed area (or a keyword: Properties to set pattern name, Scale/Spacing and Angle; Select objects; draw Boundary; Advanced for island/boundary set; etc.); pick additional internal points or objects as needed; press Enter to apply the hatch.

Description

Command-line version of HATCH that fills closed 2D areas or selected objects with a repeating pattern, a solid or gradient fill. Boundaries are found either by picking an internal point within an enclosed area or by selecting the bounding objects, with island detection controlling how nested areas are treated; 3D entities cannot be hatched.

Category

draw

Availability

  • AutoCAD, all versions: documented.
  • BricsCAD, all versions: documented.
  • clautolisp: Implemented in the cador host (executed against the drawing model).

Compatibility

AutoCAD all; BricsCAD all.

clautolisp

Implemented in the cador host (executed against the drawing model). Support tier: core-now – in scope for implementation in the cador and cadtui hosts.