Commands : GEOMCONSTRAINT, GCCOINCIDENT, GCCOLLINEAR, GCCONCENTRIC, GCCENTER, GCEQUAL, GCFIX, GCHORIZONTAL, GCPARALLEL, GCPERPENDICULAR, GCSMOOTH, GCSYMMETRIC, GCTANGENT, GCVERTICAL
A geometric constraint is a nonnumerical relationship between the parts of a geometric figure.
Geometric constraints:
 Associate geometric entities together two by two (coincident, concentric, collinear, parallel, perpendicular, tangent, smooth, symmetric, equal).
 Specify a fixed angle (horizontal, vertical).
 Specify a fixed location (fix).
When a geometric constrained is applied to an entity:
 The position of the entity is adjusted according to the applied constraint.
 An icon displays next to the entity, to indicate the applied constraint. If multiple geometric constraints are applied, the icons are joined to a constraint bar.
 If the SELECTIONPREVIEW system variable is set to 1 or 3, a blue constraint glyph () displays next to the cursor when you move the cursor over entities that have constraints applied to them.
In the image below the endpoints of the three lines and the arc are joined by coincident constraints. The midpoint of the circle and the arc are made concentric. Two lines are forced to be tangent to the arc. One line has a vertical constraint (= parallel to the Yaxis of the current coordinate system), one line has a horizontal constraint (= parallel to the Xaxis of the current coordinate system)
To set the display of constraint bars
Tools to control the display of constraintbars sit on the Geometric Constraint toolbar.
Constraint bars are hidden when a drawing is closed and reopened.
To set the display of constraint bars of a selection of entities
 Do one of the following:
 Click the Show/Hide Geometric Constraint tool button () on the 2D Constraints or Geometric Constraint toolbar.
 Choose Show/Hide Geometric Constraint in the Parametric menu.
 Type constraintbar in the command bar.
You are prompted: Select Entities.
 Select the entities, then right click or press Enter.
BricsCAD reports the number of selected entities.
You are prompted: Select option for constraints [Show/Hide/Reset] <Show>:
A prompt menu displays:
 Do one of the following:
 Press Enter to display the constraint bar of the selected entities.
 Choose Hide or Show in the context menu.
 Type H or S in the command bar, then press Enter.
To set the display of constraint bars of all entities
Do one of the following:
 Click the Show All tool button () on the Geometric Constraint toolbar to display all constraint bars.
 Click the Hide All tool button () on the toolbar Geometric Constraint to hide all constraint bars.
NOTE 
The value of the CONSTRAINTBARDISPLAY system variable controls the visibility of geometric constraints:

To control the position of a constraint bar
By default constraint glyph bars are created close to the midpoint of the entity and are kept at that relative position when the entity position changes. You can drag the constraint bar to a different location. This new relative position is then maintained until the Reset option of the CONSTRAINTBAR command restores the default position of the constraint bar.
To relocate a constraint bar:
 Place the cursor on the constraint bar.
 Press and hold the left mouse button to move the constraint bar.
 Release the left mouse button at the desired location.
To restore the default position of the constraint bars:
 Do one of the following:
 Click the Show/Hide Geometric Constraint tool button () on the 2D Constraints or Geometric Constraint toolbar.
 Choose Show/Hide Geometric Constraint in the Parametric menu.
 Type constraintbar in the command bar.
You are prompted: Select Entities.
 Select the entities, then right click or press Enter.
BricsCAD reports the number of selected entities.
You are prompted: Select option for constraints [Show/Hide/Reset] <Show>:
A prompt menu displays:
 Do one of the following:
 Choose Reset in the context menu.
 Type R in the command bar, then press Enter.
Working with the constraint bar
Using the constraint bar you can:
 Control a constraint.
Move the cursor over a constraint icon.
A tooltip displays, indicating the constraint type (1)
The associated entity highlights (2)
The corresponding icon on the constraint bar of the associated entity highlights (3)  Delete a constraint.
Move the cursor over the constraint icon, then right click.
Click Delete .
The constraint is deleted and the icon is removed from this constraint bar and from the constraint bar of the corresponding entity.  Hide the constraint bar of an entity.
Move the cursor of the constraint bar, then click the Close button.
Deleting constraints
To delete a single constraint: right click the constraint icon, then click the Delete button.
To delete all constraints from a selection set:
 Click the Delete 2D Constraints icon () on the 2D Constraints toolbar.
You are prompted: Select entities to delete all constraints:  Select the entities you want to delete the constraints from.
 Right click to stop selecting entities and delete all constraints from the selection set.
Using fix constraints
A fix geometric constraint () forces a point or an entity to a fixed location.
 If a fix geometric constraint is applied to a line or a polyline segment, the angle of the line or polyline segment is fixed. The endpoints can still be moved.
 If you fix an arc or a circle, the center point is fixed too.
Note: It is recommended to apply a fix constraint to important geometric features in your design. This prevents the geometry from moving unexpectedly when you edit the design.
Using coincident constraints
A coincident geometric constraint can be applied to two points or to a point and an entity. The endpoints of lines, polylines, splines, rays and arcs (circular and elliptical) and the center point of circles, ellipses and arcs (circular and elliptical) are accepted. These points can be made coincident (= to lie on the entity or on the extension of the entity) with a line, a polyline segment, a circle or an arc (circular and elliptical).
Figure: Coincident constraints between the endpoint of a line and two circles.
If the endpoints or center points of entities already coincide, the Autoconstraint option of the GcCoincident command automatically applies coincident constraints to such points.
To apply a coincident constraint between a point and an entity:
 Click the Coincident tool button () on the 2D Constraints toolbar.
You are prompted: Select first point or [Entity/Autoconstrain] <Entity>:A prompt menu displays:
 Do one of the following:
 Press Enter.
 Choose Entity in the prompt menu.
You are prompted: Select an entity:
 Select the entity.
The entity highlights.
You are prompted: Select point or [Multiple]:
 Snap to the endpoint of an entity or the center point of a circle or an arc.
The selected point is forced to lie on the selected entity (or its extension).
Note: If you choose Multiple in step 3, you can select multiple points.
Usage of a coincident constraint between a point and an entity
By applying coincident constraints between the pentagon vertices and the circle, and equal constraints between one side and the four other sides, the circle radius defines the size of the pentagon.
Coincident constraints between the endpoints of the tangent lines and the circles prevent the tangent lines to extend beyond the tangent points.
Coincident constraints are used to:
 force the endpoints of the red line to lie on the bold lines;
 force the midpoint of the red line to lie on the dashdot line.
The bold lines and the dashdot line have a perpendicular constraint with the red line. As a result the dash dot line will always lie in the middle of the two bold lines.
Using horizontal and vertical constraints
Horizontal and vertical geometric constraints force two points, a line or a polyline segment to be parallel to the Xaxis (horizontal) or the Yaxis (vertical) of the current coordinate system. Therefore these constraints can be used to keep lines at a fixed angle, rather than only horizontal or vertical.
To constrain a line to a fixed angle
 Align the Xaxis of the coordinate system to the desired angle.
 Type UCS in the command bar, then press Enter.
 Choose Z in the prompt menu or type Z , then press Enter.
 Type the angle, then press Enter.
 Click the Horizontal tool button () on the 2D Constraints toolbar.
You are prompted: Select an entity or [2Points] <2Points>:
 Click the line or polyline segment.
The selected entity is constrained to be parallel to the Xaxis of the current UCS.
 (option) Restore the WCS: Type UCS in the command bar, then press Enter twice.
Note: Use the Vertical tool in the above procedure to constrain entities to be parallel to the Yaxis of the current UCS.