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.
| Command | Starts from | Creates | Best for |
|---|---|---|---|
BOUNDARY | An enclosed area formed by existing objects | Polyline or Region | Automatically extracting an outline |
REGION | Existing closed objects | 2D Region object | Surface and Boolean workflows |
HATCH | An enclosed area or selected boundary | Hatch or fill | Graphical 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.
- Type
BOUNDARYand press Enter. - Choose the required Object type, usually Polyline or Region.
- Enable Island detection if internal closed areas should also be recognised.
- Click Pick Points.
- Click inside the enclosed area you want to capture.
- 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.
- Make sure the source geometry forms a valid closed shape.
- Type
REGIONand press Enter. - Select the closed objects you want to convert.
- 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.