Parametric constraints in an AutoCAD-compatible CAD: geometric and dimensional
Drawing with constraints means telling the program how objects relate to each other, not just where they are:
this line is parallel to that one, this arc is tangent to that line, this distance equals width/2. When you edit,
the drawing keeps those rules by itself. AutoCAD calls them parametric constraints, and LinceCAD has them with the
same commands and the same format in the DWG, so a constrained drawing stays live when it moves from one program
to the other.
Two kinds: geometric and dimensional
- Geometric constraints set relationships: horizontal, parallel, tangent, concentric, equal…
- Dimensional constraints set values: a distance, an angle, a radius or a diameter. Each one creates a parameter with a name and an expression, and when it changes the geometry moves to satisfy it.
You usually combine them: geometric constraints give the shape and dimensional ones the size. They are all on the Parametric tab and can also be typed on the command line.
Geometric constraints: GEOMCONSTRAINT
GEOMCONSTRAINT asks for the type and continues as the command for that type.
There are twelve, AutoCAD's: horizontal, vertical, perpendicular, parallel, tangent, smooth, coincident,
concentric, collinear, symmetric, equal and fix.
- The first object you select stays as it is and the others adjust to satisfy the constraint.
- When you edit a constrained object (with
MOVE,ROTATE, grips or the Properties palette), whatever is tied to it moves just enough to keep satisfying the constraints. If the edit makes them impossible, the edit stays and the rest does not change. - A constraint that conflicts with the existing ones is not applied: the command line tells you.
- Each constraint is shown as an icon next to its object;
CONSTRAINTBARshows or hides those icons (it only changes the view, not the drawing).
Instead of going one by one, AUTOCONSTRAIN applies in one go the constraints
the selected objects already satisfy: coincident endpoints, collinear, parallel and perpendicular lines,
tangencies, concentric circles and horizontal and vertical lines, without repeating redundant ones. And
DELCONSTRAINT removes all the constraints from the selected objects without
moving them.
Dimensional constraints: DIMCONSTRAINT
DIMCONSTRAINT applies a dimensional constraint of type linear, horizontal,
vertical, aligned, angular, radius or diameter. You select the points (or the line, circle or arc), place the
dimension and type the value, an expression or name=expression. Each one creates its parameter (d1, ang1,
rad1, dia1…) and is shown as a dynamic dimension with name=expression.
If the drawing already has dimensions, DCCONVERT turns associative
dimensions (linear, aligned, angular, radius and diameter dimensions on lines, circles or arcs) into dimensional
constraints at their current value. Non-associative ones are ignored, as in AutoCAD.
Parameters and expressions: PARAMETERS
PARAMETERS opens the Parameters Manager: the list of the drawing's parameters with
their expression and value. Change a name or an expression, leave the cell and the constrained geometry moves; the
expressions that read that parameter are recalculated.
- An expression can use numbers, other parameters,
+ - * / ^, parentheses,piand functions such assin,cos,sqrt,abs,round,max(a;b)ormin(a;b)(angles in degrees). - New user parameter creates one (for example,
width) that other expressions can read. - If the expression is not valid (a name that does not exist, a cycle between parameters…), nothing changes and the command line tells you.
Example: a plate that resizes itself
- Draw a rectangle of four lines with
LINEand, inside it, a circle withCIRCLE. - Run
AUTOCONSTRAINand select the four lines: it applies the constraints the rectangle already satisfies (coincident corners, horizontal and vertical sides…) and tells you how many it applied. - With
DIMCONSTRAINT, option Horizontal, dimension the bottom line and typewidth=200. - With
DIMCONSTRAINT, option Vertical, dimension one side and typewidth/2. - With
DIMCONSTRAINT, option Diameter, select the circle and typewidth/8. - Open
PARAMETERSand changewidthto 300: the plate becomes 300 × 150 and the circle 37.5 in diameter, without touching a single line.
Compatibility with AutoCAD
LinceCAD saves constraints in the DWG the way AutoCAD 2027 does, in its associative network, with parameters as
variables. When the drawing is opened in AutoCAD they stay live: you can change a parameter there and the geometry
responds. And the other way round: constraints in a DWG made in AutoCAD work in LinceCAD. Command names are
AutoCAD's: in English with the English interface, and AutoCAD's Spanish names (RESTRICGEOM, RESTRICCOTA,
PARAMETROS…) with the Spanish interface.
Limits in version 1.0
- Lines, circles and arcs in model space can be constrained. Polylines, splines, ellipses and objects in layouts cannot yet.
- An edit that leaves the constraints without a solution is not undone: it is applied and everything else stays where it was.
For an overview of everything LinceCAD offers here, see the Parametric constraints section of the features page.
Frequently asked questions
What is a parametric constraint in CAD?
A rule the drawing keeps when you edit it: geometric (two parallel lines, a line tangent to a circle) or dimensional (a distance, an angle, a radius). Dimensional constraints are driven by parameters, so when a value changes the geometry follows.
Do LinceCAD's constraints work in AutoCAD?
Yes. LinceCAD saves them in the DWG the way AutoCAD 2027 does and they stay live when the drawing is opened there; constraints in a DWG made in AutoCAD also work in LinceCAD.
Which objects can be constrained in LinceCAD?
In version 1.0, lines, circles and arcs in model space. Polylines, splines, ellipses and objects in layouts are not supported yet.
Try parametric constraints on your own drawings: 30 days, no email or card. Download · Parametric constraints · See pricing.