# DCALIGNED Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [D](Help%20System/GSTARCAD/2027/Commands/D/(D).md) ## Function Description: Constrains the distance between two points on an object or between two points on different objects. ## Command Access: Icon:  ![](Help%20System/GSTARCAD/2027/assets/770b14fc312e2c280d8716d0f7d3a46b8b2a1d3753857e4b3f27c1d239c86023.png) Menu Item: Parametric(P) > Dimensional Constrains(D) > Aligned(A) Ribbon: Parametric > Dimension > Aligned Toolbar: / Command Line: DCALIGNED Command Alias:/ ## Command Prompts: ``` Specify first constraint point or [Object(O)/Point & line(P)/2Lines(2L)] <Object>: Specifies the first point of the object to be constrained. ``` ``` Specify second constraint point: Specifies the second point of the object to be constrained. ``` ## Operation Steps: 1、Adds aligned constraints by selecting two ends of a line or two points on different objects as shown. 2、The distance between the object's endpoints is constrained. ![](Help%20System/GSTARCAD/2027/assets/97771533b506371801d0a902cc538a7ec5cb410c27a3bd6de9950981b4df1c79.png) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_D/DCALIGNED.html) · © Gstarsoft Co., Ltd.