# BOUNDARY Command line [GstarCAD 2020](Help%20System/GSTARCAD/2020/Index.md) → [Commands](Help%20System/GSTARCAD/2020/Commands/(Commands).md) → [B](Help%20System/GSTARCAD/2020/Commands/B/(B).md) The -BOUNDARY command is used to create a region or a polyline from an enclosed area. **Command Access:** > **Command:** -BOUNDARY Command Prompts: > Specify internal point or \[Advanced options\]: Relative glossary: Advanced Options: Specify a method to create boundary. Enter an option \[Boundary set/Island detection/Object type\]: > Boundary Set : > > Define the boundary set of objects when you create a boundary from a specified point. > HATCH Command prompt option. > > **Island Detection:** > > Specify whether BOUNDARY uses objects within the outermost boundary as boundary objects. > > **Object Type:**Specify the type of the objects for boundary creation. > > > Enter type of boundary object\[Region/Polyline\]: ## Other versions with matching text [GstarCAD 2016](../../../2016/Commands/B/BOUNDARY%20Command%20line--dceb02600d3f.md) · [GstarCAD 2017](../../../2017/Commands/B/BOUNDARY%20Command%20line--dceb02600d3f.md) · [GstarCAD 2018](../../../2018/Commands/B/BOUNDARY%20Command%20line--dceb02600d3f.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/B/BOUNDARY%20Command%20line--dceb02600d3f.md) · [GstarCAD 2021](../../../2021/Commands/B/BOUNDARY%20Command%20line--dceb02600d3f.md)