Constrains the distance between two points, or the length of a single entity, to the horizontal (X direction) or vertical distance (Y direction), with respect to the current coordinate system. (This command is equivalent to the Linear option of the DIMCONSTRAINT command.)

## Accessing the Command

command bar: **dclinear**menu bar:

**Parametric | 2D Constraints | Linear**

toolbar:

**2D Constraints |**

ribbon:

**Parametric | 2D Constraints | Linear**

: **dclinear**

Prompts you in the command bar:

**Specify first constraint point or [Entity] <Entity>:*** (Select a valid constraint point or, else press Enter to select an Entity)*

**Specify second constraint point: ***(Select another valid constraint point)*

**Specify dimension line location: ***(Move the cursor horizontally or vertically, and then pick a point to position the dimension line)*

**Dimension text <current>:** *(Type the dimension text, or else press Enter to accept the current dimension text)*

### The horizontal or vertical distance (parallel to the X- or Y-axis of the current coordinate system) between the two points is constrained.

## Command Options

## Option |
## Description |

Entity |
Constrains the horizontal or vertical distance between the endpoints of an entity. Prompts you: **Select an entity**- select a line, arc or polyline segment**Specify dimension line location**- Move the cursor horizontally or vertically, and then pick a point to position the dimension line**Dimension text <xx.xx>**- type a value, or ekse press Enter to accept the current value
The entity is constrained horizontally or vertically (parallel to the X- or Y-axis of the current coordinate system), but can continue change its size in other directions. |

## 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.

DcAligned - constrains the distance between two points.

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.

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.