# HATCHGENERATEBOUNDARY Command
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [H](Help%20System/GSTARCAD/2022/Commands/H/(H).md)
## Function Description:
This command is used to create a non-associated polyline around a selected hatch.
## Command Access:
> **Icon:** /
> **Menu:** /
> **Ribbon:** /
> **Toolbar:** /
> **Command:** HATCHGENERATEBOUNDARY
> **Alias:** /
> **Shortcut:** Select hatch object and right-click, click
> Generate Boundary
## Command Prompts:
Select hatch object:
