Constrains a line, linear polyline segment, or a pair of points to lie parallel to the X-axis in the current coordinate system. (This command is equivalent to using the Horizontal option of the GeomConstraint command.)

**Note:** This command moves one end of the segment so that the segment is horizontal. The end that is moved is the end of the segment drawn second.

## Accessing the Command

command bar: **gchorizontal**menu bar:

**Assembly**

**| 2D Constraints | Horizontal**

ribbon:

**Parametric | 2D Constraints | Horizontal**

toolbar:

**2D Constraints |**

: **GcHorizontal**

**Prompts you in the command bar:**

Select an entity or [2Points] <2Points>:* ( Select a line or linear polyline segment, or else press Enter to select two points)*

## Command Options

Option |
Description |

Select an entity |
Select a line or a linear polyline segment; the program moves one end to make the entity horizontal -- parallel to the X-axis of the current coordinate system. |

2Points |
Constrains two pick points to the horizontal; prompts you: -
**Select first point**-*(pick a point on one entity.)* -
**Select second point**-*(pick another point on the same entity, or on another entity.)*
Pick two valid constraint points on the same entity or on two different entities. The two selected points are forced to lie on a line which is parallel to the X-axis of the current coordinate system. The program moves the second point vertically so that it lies horizontally to the first pick point; see figure below. |

After you place the constraint, icons appear near the entities indicating the type of constraint. If you do not see them, then use the ConstraintBar command to display the icons.

Pause the cursor over one of the icons to see the location of the horizontal constraint, shown by the two large **X **markers:

To remove a constraint, click the tiny** x** on the constraint bar.

## Related Commands

GeomConstraint - applies geometric relationships between entities and/or points on entities.

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

GcCoincident - applies a coincident geometrical constraint to two points or constrains a point to an entity.

GcCollinear - forces lines to be collinear.

GcConcentric - constrains the center points of circles, arcs, ellipses or elliptical arcs to coincide.

GcEqual - constrains arcs and circles to the same radius, or lines to the same length.

GcFix - constrains points and entities at a fixed position.

GcParallel - forces two lines to be parallel to each other.

GcPerpendicular - constrains two lines to lie perpendicularly to each other.

GcSmooth - forces a spline to maintain fluid geometric continuity with another spline, line, arc or polyline.

GcSymmetric - constrains two entities or points to lie symmetrically with respect to a selected line.

GcTangent - constrains two entities to maintain a point of tangency to each other or their extensions.

GcVertical - constrains lines or pairs of points to lie parallel to the Y-axis of the current coordinate system.

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

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