GstarCAD command

BOUNDARY command

Create a closed polyline or region automatically from an enclosed area in your drawing.

Command
BOUNDARY
Alias
BO
Tool group
Draw
Level
Beginner

What does BOUNDARY do?

BOUNDARY creates a closed polyline or region from an enclosed area in a drawing. Instead of tracing an existing outline manually, you can pick a point inside a closed space and let GstarCAD detect the surrounding geometry. This is particularly useful for creating room outlines, hatch boundaries, areas and closed profiles from existing lines, arcs, circles or polylines.

How to use the command

  1. Type BOUNDARY or its shortcut BO, then press Enter.
  2. In the Boundary Creation dialog box, choose Polyline or Region as the object type.
  3. Enable or disable island detection as required.
  4. Click Pick Points.
  5. Click inside each enclosed area where a new boundary should be created.
  6. Press Enter to finish selecting areas and complete the boundary creation.
Command: BO ↵
Object type: Polyline
Pick Points: select inside enclosed area
Specify internal point: pick room area
Specify internal point: Enter

Key BOUNDARY options

The Boundary Creation dialog provides controls for determining what type of object is created and which existing objects are analysed.

Pick Points
Detects a closed boundary around a point specified inside an enclosed area.
Island detection
Controls whether closed areas located inside the main boundary are detected as internal islands.
Object type
Creates the resulting boundary as either a closed polyline or a region.
Boundary set
Controls which drawing objects GstarCAD analyses when searching for a closed boundary.
New
Lets you select a specific set of objects to use when calculating the boundary instead of analysing the entire current viewport.

Practical example: create a room boundary

Suppose a room is formed by several separate wall lines but you need one closed polyline for area calculations or hatching. Start BOUNDARY, set the object type to Polyline and choose Pick Points. Click anywhere inside the enclosed room and press Enter. GstarCAD analyses the surrounding geometry and creates a new closed polyline following the room perimeter.

Tip

If a complex drawing contains many objects, define a smaller boundary set before using Pick Points. This limits the geometry GstarCAD needs to analyse and can make boundary detection easier and more predictable.

All commands Updated 29 September 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.