Hide Table of Contents

Setting Additional Options for Hatches and Gradient Fills

When defining hatch boundaries by specifying internal points, the command detects the entities that form the boundary. In this case, additional options allow you to control the automatic detection of boundaries.

You can do the following:

  • Detect or ignore internal closed boundaries
  • Keep or delete the initial closed contour used when the hatch was created
  • Create hatch for boundaries with gaps
  • Specify the set of entities to be analyzed for boundary detection.

Optionally, use the Origin and Transparency options to better display hatched entities.

To detect or ignore internal closed boundaries:

  1. Click Find internal regions to detect internal closed boundaries.
  2. Click a hatch Display style.
    • Out Hatch outer. Creates hatch patterns only in the outermost areas.
    • In/Out Hatch normal. Creates hatch pattern between alternate areas, starting with the outermost area (default).
    • Ignore Hatch ignore. Ignores the internal structure and hatches the entire area. Hatch lines pass through text, block attributes, and 2D solids.

    The following diagram illustrates the In/Out, Out, and Ignore styles.

To keep the boundary used when the hatch was created:

In Boundary preservation:

  1. Click Keep boundaries to maintain the initial closed contour normally deleted when a hatch is created.
  2. From the Type list, select whether the boundary contour is created as PolyLine or Region

To create hatch for boundaries with gaps:

  Note: If there are gaps between the entities selected for a boundary definition, the command does not create the hatch. However, you can define a gap tolerance so that the command ignores the gaps that are smaller than the defined value, considers the boundary closed and creates the hatch.

  • Specify a Maximum gap size. The command ignores the gaps that are smaller than the defined value, considers the boundary closed, and creates the hatch.

To specify the set of entities for the boundary detection:

  • In Boundary group, do one of the following:
    • Select Active View Tile to create a boundary group from all visible entities from the current viewport.
      - or -
      1. Click Hatch outer to select entities for the boundary.
      2. In the graphics area, specify the entities and press Enter.

To set the hatch default origin:

  • Select a default Origin setting.
    • Use current. Uses the origin point for the hatching specified with the current Hatch command.
    • Use source. Uses the origin of existing hatches.

To set the target Layer for subsequent hatches and fills:

  • From the Layer list, select the name of a Layer for subsequent hatches or fills, or select <Active> to place subsequent hatches or fills on the currently activated Layer.

    The setting is valid for the current drawing and stored in the drawing. <Active> is the default for new drawings, unless the template file for the drawing sets a specific Layer name.

To set the hatch line color:

  • In LineColor, specify the color of the hatch lines:
    • ByBlock. Uses the current line color setting of a block, if the line color is contained in that Block.
    • ByLayer. Uses the current layer line color setting.
    • Specify color. Lets you specify a standard or a custom color for the hatch line.

To set the hatch background color:

  • In Background color, specify the color of the hatch background. The Specify color option lets you specify a standard or a custom color for the hatch background.

To specify hatch or fill transparency level:

  • In Transparency, specify the transparency level of the hatch or fill:
    • Use current. Uses the current transparency setting for new entities.
    • ByLayer. Uses the current layer transparency setting.
    • ByBlock. Uses the current transparency setting of a block, if the hatch or fill is contained in that Block.
    • Specify value. Uses the transparency setting that you specify by either entering a value in the text box or using the slider. Specify a value between 0 and 90% where 0% means no transparency (opaque).


Command: Hatch

Menu: Draw > Hatch

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Setting Additional Options for Hatches and Gradient Fills
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: 2023 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.