Parametric Constraints — GstarCAD 2026


Parametric Constraints

GstarCAD 2026 · Whats New

Parametric constraint (geometric constraint) is a technique to associate and restrict two-dimensional geometric graphics and control objects to satisfy one or more geometric relationships. Geometric constraints are divided into twelve constraint types corresponding to twelve geometric relationships: COINCIDENT, COLLINEAR, CONCENTRIC, FIX, PARALLEL, PERPENDICULAR, HORIZONTAL, VERTICAL, TANGENT, SYMMETRIC, SMOOTH, and EQUAL.

This feature is only available in PLUS version.

Add the following parametric constraint-related commands:

1、GEOMCONSTRAINT

Apply or make permanent geometric relationships between objects or points on objects.

2、GCCOINCIDENT

Constrains two points to coincide or a point to lie on a curve (or the curve's extension).

3、GCCOLLINEAR

Aligns two or more line segments to be in the same straight line direction.

4、GCCONCENTRIC

Constrains two arcs, circles, or ellipses to share the same center point.

5、GCFIX

Locks a point or a curve in place, preventing it from moving.

6、GCPARALLEL

Makes selected lines parallel to each other.

7、GCPERPENDICULAR

Positions selected lines at right angles to each other.

8、GCHORIZONTAL

Aligns a line or a pair of points to be parallel to the X-axis of the current coordinate system.

9、GCVERTICAL

Aligns a line or a pair of points to be parallel to the Y-axis of the current coordinate system.

10、GCTANGENT

Constrains two curves to be tangent to each other or their extensions to be tangent.

11、GCSYMMETRIC

Applies symmetry constraint to selected objects relative to a selected line.

12、GCSMOOTH

Constrains a spline curve to be continuous and maintain G2 continuity with other spline curves, lines, arcs, or polylines.

13、GCEQUAL

Adjusts the size of selected arcs and circles to have the same radius, or adjusts the size of selected lines to have the same length.

14、CONSTRAINTBAR

Displays or hides the geometric constraints on an object.

15、DELCONSTRAINT

Removes all geometric and dimensional constraints from a selection set of objects.

16、CONSTRAINTSETTINGS

Controls the display of geometric constraints on constraint bars.

Added parametric constraint related system variables:

1、CONSTRAINTBARDISPLAY

Controls the display of the constraint bar for subsequent geometric constraints and controls the display of hidden constraints for selected objects.

2、CONSTRAINTBARMODE

Controls the display of geometric constraints on the constraint bar. Setting CONSTRAINTBARMODE to 4095 will display the constraint bar for all constraint types.

3、CONSTRAINTINFER

Controls whether geometric constraints are inferred during the drawing and editing of geometric figures.

4、CONSTRAINTNAMEFORMAT

Controls the text format of labeled constraints in the CAD software.

5、CONSTRAINTSOLVEMODE

Controls the behavior of constraints when they are applied or edited.

6、CBARTRANSPARENCY

Controls the transparency of the constraint bar. The valid range for the CBARTRANSPARENCY system variable is from 10 to 90. The higher the value, the more opaque the constraint bar is.

Other versions with matching text

2025



Article ID: 8548
Created: October 6, 2026
Last Updated: September 26, 2026
Author: kbadmin

Online URL: https://kb.gstarcad.com.my/article/parametric-constraints-gstarcad-2026-8548.html