Tips & Tricks

REGION vs BOUNDARY: What’s the Difference and When Should You Use Each?

Learn when to use BOUNDARY, REGION or HATCH to create outlines, surfaces and filled areas from closed geometry in GstarCAD.

Level
Intermediate
Best for
Closed areas, floor plans and 2D profiles

You have a closed area in your drawing and need to turn it into something useful. Should you use BOUNDARY, REGION or perhaps simply HATCH? Although these tools often work with the same enclosed geometry, they solve different problems. Understanding the difference can save you from manually tracing rooms, rebuilding profiles or creating the wrong type of object for the next operation.

What is the difference between BOUNDARY, REGION and HATCH?

The easiest way to understand the three tools is to look at what they produce. BOUNDARY finds an enclosed area and creates a new outline or region from it. REGION converts existing closed geometry into a two-dimensional region object. HATCH fills an enclosed area with a pattern, solid fill or gradient.

CommandStarts fromCreatesBest for
BOUNDARYAn enclosed area formed by existing objectsPolyline or RegionAutomatically extracting an outline
REGIONExisting closed objects2D Region objectSurface and Boolean workflows
HATCHAn enclosed area or selected boundaryHatch or fillGraphical representation of materials or areas

When should you use BOUNDARY?

Use BOUNDARY, often started with BO, when the outline you need does not yet exist as one convenient closed object. GstarCAD analyses surrounding geometry and creates a new boundary around the point you specify.

This is extremely useful in architectural plans. A room may be enclosed by many separate wall lines, door elements and other objects. Instead of tracing the room manually with PLINE, let BOUNDARY find the perimeter for you.

  1. Type BOUNDARY and press Enter.
  2. Choose the required Object type, usually Polyline or Region.
  3. Enable Island detection if internal closed areas should also be recognised.
  4. Click Pick Points.
  5. Click inside the enclosed area you want to capture.
  6. Press Enter and confirm the Boundary Creation dialog.

Tip

For everyday 2D drafting, create a Polyline with BOUNDARY unless you specifically need a Region. Closed polylines are convenient for area calculations, offsets, hatching and further editing.

When should you use REGION?

REGION solves a different problem. You already have closed geometry, such as a closed polyline, circle, ellipse or closed spline, and want to convert it into a two-dimensional surface object.

  1. Make sure the source geometry forms a valid closed shape.
  2. Type REGION and press Enter.
  3. Select the closed objects you want to convert.
  4. Press Enter to create the regions.

A Region may look similar to its original outline in a normal 2D wireframe view, but it behaves differently. Regions can participate in operations such as UNION, SUBTRACT and INTERSECT, and they are also useful as profiles in more advanced modelling workflows.

Practical example: creating a floor area

Imagine a floor plan where four walls surround an office measuring approximately 5000 × 4000 mm. The room perimeter consists of several separate lines, so there is no single closed polyline to select.

If you need the room outline for an area calculation, start BOUNDARY, choose Polyline and click inside the room. GstarCAD creates a closed polyline following the detected perimeter. You can now select that polyline and read or use its area without manually redrawing the room.

If the same outline needs to become a surface for Boolean or modelling operations, either choose Region directly in the Boundary Creation dialog or convert the finished closed polyline later with REGION.

The key distinction is that BOUNDARY is doing the detective work: it searches the surrounding geometry and discovers the perimeter. REGION is doing the conversion: it takes closed geometry that already exists and turns it into a Region object.

Where does HATCH fit into this workflow?

HATCH is often confused with these commands because it also searches for enclosed areas. Its purpose, however, is graphical. Use it when you want to show concrete, insulation, earth, steel or simply highlight an area with a solid fill.

A hatch can find its boundary by a picked internal point or from selected objects, but the main result is the hatch itself. If what you really need is a reusable closed polyline around the detected area, BOUNDARY is usually the more direct tool.

Watch out

If BOUNDARY, REGION or HATCH refuses to recognise an area, inspect the geometry for small gaps, overlapping objects or self-intersections. What looks closed on screen is not always mathematically closed.

Which command should you choose?

Use BOUNDARY when your thought is: “Find the outline of this enclosed space for me.” Use REGION when it is: “Turn this existing closed shape into a surface object.” Use HATCH when you simply want to visually fill or represent the enclosed area.

A particularly useful workflow is BOUNDARY → closed polyline → REGION. First let GstarCAD find a complicated perimeter automatically, keep the polyline if normal 2D editing is enough, and convert it to a Region only when the next operation actually requires one.

All tips Updated 29 September 2026
Continue learning
View all tips

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.