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

## Accessing the Command

command bar: **dchorizontal**menu bar:

**Parametric | 2D Constraints | Horizontal**

toolbar:

**2D Constraints |**

ribbon:

**Parametric | 2D Constraints | Linear | Horizontal**

: **dchorizontal**

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 location: ***(Select a point to position the dimension line)*

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

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

## Command Options

## Option |
## Description |

Entity |
Constrains the horizontal distance between the endpoints of an entity. Prompts you: **Select an entity**- select a line, arc or polyline segment**Specify dimension line location**- pick a point**Dimension text <xx.xx>**- type a value or press Enter to accept the current value
The entity is constrained horizontally (parallel to the X-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.

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.