Constrains the distance between two points, or the distance between a point and an entity, or the length of a line or polyline segment. (This command is equivalent to the Aligned option of the DIMCONSTRAINT command.)

## Accessing the Command

command bar: **dcaligned**menu bar:

**Parametric | 2D Constraints | Aligned**

toolbar:

**2D Constraints |**

**ribbon: **

: **dcaligned**

Prompts you in the command bar:

**Specify first constraint point or [Entity/Point/2Lines] <Entity>: ***(Select a valid constraint point or choose an option)*

**Specify second constraint point: ***(Select a valid constraint point.)*

**Specify dimension line location: ***(Select a point to position the dimension line.)*

**Dimension text <xx.xx>:** *(Type a value or press Enter to accept the current value.)*

The distance between the two points is constrained, and can be edited directly or with the Parameters panel.

## Command Options

## Option |
## Description |

Entity |
Constraints the length of a line, a polyline segment or the chord of an arc. Prompts you: **Select an entity**- Select a line, polyline segment, or an arc**Specify dimension location**- pick a point**Dimension text <xx.xx>**- type a value, or else press Enter to accept the current value
The length of the entity is now constrained, although it can still be moved, rotated, and so on. |

Point |
Constraints the perpendicular distance between a point and a line or polyline segment. Prompts you: **Specify constraint point or [Line] <Line>**- pick a valid constraint point, or else first select the line, polyline segment, or arc, and then select the point**Select constraint point**- pick a valid constraint point**Specify dimension location**- pick a point**Dimension text <xx.xx>**- type a value, or press else Enter to accept the current value
The distance between the point and the entity is now constrained, and can be edited directly or with the Parameters panel. |

2Lines |
Constraints the distance between two straight lines and/or straight polyline segments. If the entities are not parallel already, the second entity is rotated around its midpoint to be parallel to the first entity. Prompts you: **Select first line**- select a line or polyline segment.**Select second line to make parallel**- select a line or polyline segment**Specify dimension location**- pick a point**Dimension text <xx.xx>**- type a value or press Enter to accept the current value
The shortcut for this option is 2L. The distance between the two enties is now constrained, and can be edited directly or with the Parameters panel. |

## Procedures

## Related Commands

Dimconstraint - applies a dimensional constraint to an entity or between constraint points on entities; converts associative dimensions to dynamic dimensions.

Geomconstraint - applies geometric relationships between entities and/or valid constraint points on entities.

DcAngular - constrains the angle between two lines or linear polyline segments; the total angle of an arc or an arc polyline segment; or the angle between three points on entities.

DcConvert - converts an associative dimension to a dimensional constraint.

DcDiameter - constrains the diameter of a circle or an arc.

DcHorizontal - constrains the horizontal distance (X-distance) between two points with respect to the current coordinate system.

DcLinear - constrains the horizontal distance (X-distance) or vertical distance (Y-distance) between two points with respect to the current coordinate system.

DcRadius - constrains the radius of a circle or an arc.

DcVertical - constrains the vertical distance (Y-distance) between two points with respect to the current coordinate system.

ConstraintBar - controls the display of the constraint bar of entities.

DcDisplay - allows to set dimensional constraints to be displayed or hidden.

Delconstraint - removes all dimensional and geometrical constraints from an entity.

CleanUnusedVariables - purges variables not used in constraint expressions and not linked to dimensions.

-Parameters - manages 2D dimensional constraint parameters and user variables in the current drawing.