Skip to content

← Blog

Parametric constraints in an AutoCAD-compatible CAD: geometric and dimensional

· Guides

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

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.

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.

Example: a plate that resizes itself

  1. Draw a rectangle of four lines with LINE and, inside it, a circle with CIRCLE.
  2. Run AUTOCONSTRAIN and 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.
  3. With DIMCONSTRAINT, option Horizontal, dimension the bottom line and type width=200.
  4. With DIMCONSTRAINT, option Vertical, dimension one side and type width/2.
  5. With DIMCONSTRAINT, option Diameter, select the circle and type width/8.
  6. Open PARAMETERS and change width to 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

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.