# HATCHEDIT Command
[GstarCAD 2016](../../Index.md) → [Commands](../%28Commands%29.md) → [H](%28H%29.md)
The HATCHSETBOUNDARY command is used to hatch specified new boundary by selected hatch object.
## Command Access:
> **Command:** HATCHSETBOUNDARY
> **Shortcut:** select hatch object and right-click, click "Set Boundary"
## Command Prompts:
> Select hatch object:
> Select object to be used for the new boundary:
> Do you want to delete the selected linear? \[Yes/No\]\<N\>:
## Function Description:
This command could trim selected hatch object and hatch specified new boundary or geometric figure.

## Other versions with matching text
[GstarCAD 2017](../../../2017/Commands/H/HATCHEDIT%20Command%20%28HATCHSETBOUNDARY%20Reference%29.md)