# HATCHSETBOUNDARY Command [GstarCAD 2020](Help%20System/GSTARCAD/2020/Index.md) → [Commands](Help%20System/GSTARCAD/2020/Commands/(Commands).md) → [H](Help%20System/GSTARCAD/2020/Commands/H/(H).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. ![](Help%20System/GSTARCAD/2020/assets/GCAD_GCR/images/HATCHSETBOUNDARY-1.png) ## Other versions with matching text [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/H/HATCHSETBOUNDARY%20Command.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/H/HATCHSETBOUNDARY%20Command.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/H/HATCHSETBOUNDARY%20Command.md)