BHATCH Command

Fills an enclosed area with an associative hatch pattern

Draw toolbar:
Draw menu: Hatch
Command line: bhatch

The Boundary Hatch dialog box is displayed.

If you enter -bhatch at the Command prompt, AutoCAD LT presents options on the command line.


BHATCH computes a polyline boundary from objects that make up an enclosed area. You can then fill the boundary with an associative hatch, a hatch that updates when its boundaries are modified. Hatches are stored as single hatch objects, which can reduce the amount of disk space a drawing occupies and also can reduce regen times.

The hatch entity limit is set by the MaxHatch environment setting, which is stored in the AutoCAD LT General section of the aclt.ini file. The MaxHatch environment setting is changed through the GETENV and SETENV commands. Its default value is 10000; however, if you must create very dense hatches, you can edit the MaxHatch=10000 line, assigning any value from 100 to 10000000 (10 million). A number specified outside this range is replaced by the default value (10000).

Boundary Hatch Dialog Box

Pattern Type

Specifies a pattern type:

Pattern Properties

Sets properties for the chosen pattern:

Boundary

Defines a boundary:

After you select an object, the Boundary Hatch dialog box is displayed with the hatch pattern properties updated to match the hatch pattern settings you selected.

Attributes

The following two options define whether the hatch is associative or exploded.

Apply

Applies the specified hatching to the drawing. The Apply option is not available when no selection or boundary is made.

Advanced Options Dialog Box

Define Boundary Set

Defines the set of objects analyzed when AutoCAD LT defines a boundary from a specified pick point.

Specifying a boundary set can produce the boundary faster because AutoCAD LT examines fewer objects. When there's no existing boundary set, the From Existing Boundary Set option is not available.Select an option:

Boundary Style
Boundary Options


BHATCH (Command Line)

If you enter -bhatch at the Command prompt, AutoCAD LT presents options on the command line.

Properties / Select / Remove islands / Advanced / <Internal point> : Specify a point or enter an option

Properties (-BHATCH)

Specifies new hatch pattern properties. For more information, see the HATCH command.

Pattern (? or name / U, style) <current> : Enter a predefined pattern name, enter u, enter ?, or press ENTER

Pattern Name (Predefined)

Specifies a predefined pattern or a custom pattern name. Enter the pattern name followed by an optional hatch style code. Precede the pattern name with an asterisk (*) to fill the area with individual lines instead of a hatch block.

Scale for pattern <current> : Specify a scale or press ENTER
Angle for pattern <current> : Specify an angle or press ENTER

U (User-Defined Pattern Name)

Specifies a user-defined pattern. Enter u, followed by an optional hatch style code. Precede the u with an asterisk (*) to fill the area with individual lines instead of a hatch block.

Angle for crosshatch lines <current> : Specify an angle for the pattern or press ENTER
Spacing between lines <current> : Specify the distance between pattern lines or press ENTER
Double hatch area? <current> : Enter y to specify a second set of lines to be drawn at 90 degrees to the original lines, or press ENTER

Select (-BHATCH)

Selects specific objects for hatching.

Select objects: Use an object selection method

Remove Islands (-BHATCH)

Removes from the boundary set objects defined as islands by the Internal Point option.

Select island to remove: Select an island

Advanced (-BHATCH)

Refines the method AutoCAD LT uses to create the hatch boundary.

Boundary set / Retain boundary / Island detection / Associativity / Style / <eXit>: Enter an option or press ENTER

Boundary Set

Defines the set of objects analyzed when AutoCAD LT defines a boundary from a specified point.

New / <Everything> : Enter an option or press ENTER

Everything

Creates a boundary set from everything visible on the screen or in the current viewport. Selecting this option when there's a current boundary set discards the current set and uses everything visible on the screen or in the current viewport.

New

Creates a boundary from a selection set you define. Selecting this option when there's a current boundary set discards the current set and uses everything visible in the current viewport.

Select objects: Use an object selection method

Retain Boundary

Specifies whether or not the derived (temporary) boundary objects will be added to the drawing after hatching is completed.

Retain derived boundaries? <current> : Enter y or n, or press ENTER

Island Detection

Specifies whether objects within the outermost boundary are used as boundary objects.

Do you want island detection? <current> : Enter y or n, or press ENTER

Specifying no island detection prompts for the ray casting method.

Specify ray: Nearest / +X / -X / +Y / -Y / Angle <current> : Enter an option or press ENTER

Angle

Runs a line at the specified angle from the point you specify to the first object encountered and then traces the boundary in a counterclockwise direction.

Ray casting angle: Specify an angle

Style

Ignore / Outer / <Normal>: Enter an option or press ENTER

Specifies the method used to hatch objects within the outermost hatch boundary. If there are no internal objects selected, specifying a hatching style has no effect. Because you can define a precise set of boundaries, it's often best to use the Normal style.


Associativity

Specifies that the new hatch pattern updates when its boundaries are modified. Hatching created with BHATCH is, by default, associative.

Do you want associativity? <current> : Enter y or n, or press ENTER

eXit

Returns to the initial prompt of the -BHATCH command.

Internal Point (-BHATCH)

Determines a boundary from existing objects that form an enclosed area. If Island Detection is turned on, AutoCAD LT detects objects within the outermost boundary as islands and hatches them or not, depending on the current hatch style. Hatching applied is associative.

Related Commands: HATCH fills selected objects with a nonassociative hatch pattern. HATCHEDIT modifies an existing associative hatch block. BOUNDARY creates a polyline from an enclosed area.
System Variables: HPANG sets the hatching angle. HPDOUBLE specifies whether a user-defined hatch is double hatched. HPNAME sets the hatch pattern name. HPSCALE sets the hatch pattern scale. HPSPACE sets the spacing of a user-defined hatch pattern. SNAPBASE specifies the starting point for the hatch pattern.