GstarCAD command

XLINE command

Create infinite construction lines using horizontal, vertical, angled, bisector or offset positioning methods.

Command
XLINE
Alias
XL
Tool group
Draw
Level
Beginner

What does XLINE do?

XLINE creates an infinite construction line that extends endlessly in both directions. Unlike a normal LINE, an XLINE has no fixed endpoints and is mainly used as reference geometry for alignment, projection and layout work. Construction lines are especially useful when establishing grids, projecting features between views or creating temporary geometric guides.

How to use the command

  1. Type XLINE or its shortcut XL, then press Enter.
  2. Specify a point through which the construction line should pass.
  3. Specify a second point to define its direction.
  4. Continue specifying additional through points if several construction lines should share the same base point.
  5. Press Enter to finish the command.
Command: XL ↵
Specify a point or [Hor/Ver/Ang/Bisect/Offset]: pick base point
Specify through point: pick direction point
Specify through point: Enter

Key XLINE options

The available options provide fast ways to create construction lines with specific orientations or relationships to existing geometry.

Horizontal
Creates a horizontal infinite construction line through a specified point.
Vertical
Creates a vertical infinite construction line through a specified point.
Angle
Creates a construction line at a specified angle or relative to an existing reference line.
Bisect
Creates a construction line that bisects an angle defined by a vertex and two additional points.
Offset
Creates a construction line parallel to an existing linear object at a specified offset distance.

Practical example: create a structural grid reference

Suppose you need construction references for a building grid spaced 5000 mm apart. Start XLINE, choose Vertical and place the first construction line through the required grid origin. Then use the Offset option with a distance of 5000 mm to create parallel reference lines. These infinite lines can be used to align columns, walls and other geometry without defining temporary line endpoints.

Tip

Place construction lines on a dedicated layer so they can be hidden or frozen when they are no longer needed. Use RAY instead when the reference line should extend infinitely in only one direction.

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.