GstarCAD command

EXTEND command

Command
EXTEND
Alias
EX
Tool group
Modify
Level
Beginner

What does EXTEND do?

EXTEND lengthens an object until it reaches a selected boundary. It is useful for closing gaps, connecting drawing elements and completing geometry without manually redrawing objects. You first define the boundary and then select the object that should be extended towards it.

How to use the command

  1. Type EXTEND or its shortcut EX, then press Enter.
  2. Select one or more objects that will act as extension boundaries, then press Enter.
  3. Alternatively, press Enter at the first selection prompt to use all suitable objects as boundaries.
  4. Select the object near the end that you want to extend.
  5. Continue selecting objects as required, then press Enter to finish.
Command: EX ↵
Select objects or <select all>: select boundary line ↵
Select objects: Enter
Select object to extend or shift-select to trim or [Fence/Crossing/Project/Edge/Undo]: select line to extend ↵
Select object to extend or shift-select to trim or [Fence/Crossing/Project/Edge/Undo]: Enter

Key EXTEND options

EXTEND includes several options for selecting objects and controlling how they meet their boundaries.

Fence
Selects multiple objects that cross a temporary fence path, allowing several objects to be extended in one operation.
Crossing
Uses a crossing selection area to select objects that are inside or intersect the specified area.
Project
Controls how objects are projected when they are extended, with options based on the current UCS or view.
Edge
Controls whether an object can be extended towards an implied extension of the selected boundary edge.
Undo
Reverses the most recent modification made during the current EXTEND command.

Practical example: close a gap between wall lines

Suppose a horizontal wall line ends 250 mm before a vertical wall line that should form its boundary. Start EXTEND and select the vertical wall line as the boundary. Press Enter, then select the end of the horizontal line nearest the boundary. GstarCAD extends the horizontal line along its existing direction until it reaches the vertical line, closing the 250 mm gap while keeping the geometry accurately aligned.

Tip

While EXTEND is active, hold Shift and select an object to temporarily trim it instead. This makes it easy to switch between extending and trimming without leaving the command.

All commands Updated 25 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.