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
- Type
ALIGNor its shortcut AL, then press Enter. - Select the object or objects that you want to align, then press Enter.
- Specify the first source point on the selected geometry and its corresponding destination point.
- Specify a second source point and second destination point to control the new direction.
- Press Enter when prompted for a third source point if you are working in 2D.
- 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.
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.