GstarCAD command

ALIGN command

Command
ALIGN
Alias
AL
Tool group
Modify
Level
Intermediate

What does ALIGN do?

ALIGN positions selected objects by matching source points on the objects with corresponding destination points. In a single operation, it can move and rotate geometry and, when two point pairs are used, optionally scale it to match the target distance. The command works in both 2D and 3D drawings and is particularly useful when geometry must match an existing reference accurately.

How to use the command

  1. Type ALIGN or its shortcut AL, then press Enter.
  2. Select the object or objects that you want to align, then press Enter.
  3. Specify the first source point on the selected geometry and its corresponding destination point.
  4. Specify a second source point and second destination point to control the new direction.
  5. Press Enter when prompted for a third source point if you are working in 2D.
  6. Choose whether GstarCAD should scale the objects to match the distance between the destination points.
Command: AL ↵
Select objects: select objects ↵
Select objects: Enter
Specify first source point: pick first source point
Specify first destination point: pick first destination point
Specify second source point: pick second source point
Specify second destination point: pick second destination point
Specify third source point or <continue>: Enter
Scale objects based on alignment points? [Yes/No] <No>: Y ↵

Key ALIGN options

The number of source and destination point pairs determines how the selected geometry is transformed.

One point pair
Moves the selected objects from the source point to the corresponding destination point without defining a new rotation.
Two point pairs
Moves and rotates the selected objects so that the two source points align with the two destination points.
Scale
When two point pairs are used, proportionally scales the selected objects so the source-point distance matches the destination-point distance.
Three point pairs
Uses three source and destination pairs to move and rotate selected geometry into the required position in 3D space.

Practical example: align an imported component

Suppose an imported component has an edge that is 1200 mm long and must align with an existing reference edge measuring 1500 mm. Start ALIGN, select the component and specify the two endpoints of its edge as the source points. Select the corresponding endpoints of the reference edge as the destination points. Press Enter instead of specifying a third point, then choose Yes when asked to scale. GstarCAD moves, rotates and proportionally enlarges the component so the two edges align exactly.

Tip

Use two point pairs when an object needs both repositioning and rotation. Choose scaling only when the selected geometry should also change size to match the target reference distance.

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