# BHATCH Command line [GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [B](%28B%29.md) ## Function Description: > Fill an enclosed area or selected objects with a hatch pattern or gradient file <a id="crleadin"></a> **Command Entry:** > -BHATCH Command Prompt: > If you enter *-hatch* at the Command prompt, the following HATCH Command prompts are displayed. > > Specify internal point or \[Properties/Select/Draw boundary/Remove Boundaries/Advanced/Draw order/Origin\]: > > Internal Point: > > Determine a boundary from existing objects that form an enclosed area around the specified point. If you turn on Island Detection, objects that enclose areas within the outermost boundary are detected as islands. How HATCH detects objects using this option depends on which island detection method is specified. > > Properties: > > Specify new hatch pattern properties to apply. > > Select Objects: > > Determine a boundary from selected objects that form an enclosed area. Adds objects to the boundary definition. > > Draw Boundary: > > Use specified points to define the boundary of a hatch or fill. > > Remove Boundaries: > > Remove from the boundary definition any of the objects that were added previously. > > Advanced: > > Set the method used to create the hatch boundary. > > Enter an option \[Boundary set/Retain boundary/Island detection/Style/Associativity/Gap tolerance/Separate Hatches\]: > *Enter an option or press* ENTER *to return to the previous prompt* > > Boundary Set: > > Define the set of objects to be analyzed when defining a boundary from a specified internal point. > > Retain Boundary: > > Specify whether to add the temporary boundary objects to the drawing after hatching is completed. > > Island Detection: > > Specify whether to use objects within the outermost boundary as boundary objects. > > Style: > > Specify the method used to hatch objects within the outermost hatch boundary. If you have selected no internal objects, 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: > > Specify that the new hatch pattern is updated when its boundaries are modified. > > Gap Tolerance: > > Set the maximum size of gaps that can be ignored when objects are used as a hatch boundary. The default value, 0, specifies that the objects must enclose the area with no gaps. > > Separate Hatches: > > Control whether the Command creates a single hatch object or multiple hatch objects when several separate closed boundaries are specified. > > Draw Order: > > Assign the draw order to a hatch or fill. You can place a hatch or fill behind all other objects, in front of all other objects, behind the hatch boundary, or in front of the hatch boundary. > > Origin: > > Control the starting location of hatch pattern generation. Some hatches, such as brick patterns, need to be aligned with a point on the hatch boundary. By default, all hatch origins correspond to the current UCS origin. ## Other versions with matching text [GstarCAD 2012](../../../2012/Commands/B/BHATCH%20Command%20line.md)