AutoCAD – Drawings

Aligned dimension in AutoCAD: DIMALIGNED, rotated and oblique dimensions — and why typed points stop following the geometry

Aligned dimension in AutoCAD with DIMALIGNED (DAL), sloping parallels with DIMLINEAR Rotated, oblique dims with DIMEDIT. Bare typed points are not associative.

  • TS. Đỗ Quốc Hoàng
  • 8 min read
Four cases of dimensioning sloping edges: DIMALIGNED, DIMLINEAR Rotated, DIMEDIT Oblique and a non-associative dimension from typed points Photo: Diagram by the Institute of Information Technology in Civil Engineering

Roof slopes, stairs, braces, skewed walls on a plan: any edge that is neither horizontal nor vertical gets the wrong number from an ordinary linear dimension. An aligned dimension in AutoCAD measures along the edge itself, so the value is the true length rather than a projection.

This article covers DIMALIGNED, the Rotated option of DIMLINEAR and the Oblique option of DIMEDIT in AutoCAD 2027, using the acadiso.dwt template. Every value is read back from the dimension object. A quick comparison of all dimension commands is in the other dimension commands. For dimensioning taught properly, the Institute runs an AutoCAD course for construction.

The DIMALIGNED command and its relatives

CommandAliasMeasuresMenu
DIMALIGNEDDALLength along the line through two pointsDimension → Aligned
DIMLINEARDLIHorizontal, vertical, or at a given angleDimension → Linear
DIMEDITDEDSlants extension lines, rotates textDimension → Align Text

On the ribbon, DIMALIGNED and DIMLINEAR sit on the Annotate tab, Dimensions panel, Linear drop-down; DIMEDIT Oblique has its own button in the same panel. Locations and aliases come from the 2027 acad.cuix and acad.pgp files. The Autodesk documentation on DIMALIGNED describes the dimaligned command as creating a linear dimension aligned with its two origin points.

Step by step

Type DAL and the 2027 release asks:

StepThe promptWhat you do
1Specify first extension line origin or <select object>:Pick the first point, or press Enter to select a whole line
2Specify second extension line origin: (after a point) or Select object to dimension: (after Enter)Pick the second point, or click the line
3Specify dimension line location or [Mtext/Text/Angle]:Place the dimension line

On a right triangle with legs 3000 and 4000, DIMALIGNED on the hypotenuse gives 5000. DIMLINEAR on the same two points gives 3000, because it measures the projection. Pressing Enter at step 1 and clicking the line also gives 5000. The sloping segment of a polyline, 2000 by 1500, selected the same way gives 2500, with no need to explode the polyline.

The text of an aligned dimension runs parallel to the edge: 30° for a line at 30°, 36.87° for the polyline segment. You do not set this angle; it comes from the two points. If you want the text at a fixed angle instead, the Angle option at step 3 accepts one, just as it does for other dimension commands.

Typed points or a picked line: the biggest difference

Both routes give the same number at first, but not later. When the two points are typed as bare coordinates, without snapping to the line, the 2027 release says straight away:

Non-associative dimension created.

A non-associative dimension is attached to nothing. Stretch the hypotenuse from 5000 to 10000 and read the dimensions again.

How the points were givenAutoCAD saysAfter stretching to 10000
Bare typed coordinatesNon-associative dimension created.still 5000
The same coordinates with _endpNothing10000
Enter, then pick the lineNothing10000

The culprit is not typing coordinates but points that do not snap to the geometry. When picking with the mouse, keep the Endpoint object snap on; or press Enter and select the line. Object snaps are covered in object snaps in AutoCAD. The message Non-associative dimension created. is your cue to undo and redo at once.

Rotated dimension: the distance between sloping parallels

Two parallel walls run at 30° and you need the distance between them. DIMALIGNED only gets it if your two points happen to be exactly square to the walls. The reliable tool is a rotated dimension: DIMLINEAR with the Rotated option.

StepThe promptWhat you do
1, 2The two origin promptsPick a point on each line
3Specify dimension line location or [Mtext/Text/Angle/Horizontal/Vertical/Rotated]:Type R
4Specify angle of dimension line <0>:Type the angle square to the lines: 30 + 90 = 120
5The placement promptPlace the dimension

With the lines 600 apart, the 120° rotated dimension shows 600; the object is a RotatedDimension with its dimension-line angle stored as 120°. Its strength is that the two points need not be square to each other. Pick one near the middle of the first line and one far along the second:

Command, same two offset pointsValue
DIMLINEAR → R → 120600, the true distance between the lines
DIMALIGNED1268.56, the diagonal between the two points

The rotated dimension projects the two points onto the 120° direction, so it returns 600 however far apart you pick. DIMALIGNED measures straight between the points and is wrong as soon as they are offset.

Oblique dimension for isometric drawings: DIMEDIT Oblique

Isometric drawings need a different style: extension lines parallel to an axis of the drawing rather than square to the edge. That is an oblique dimension, made with DIMEDIT, option Oblique, on an existing dimension.

StepThe promptWhat you do
1Enter type of dimension editing [Home/New/Rotate/Oblique] <Home>:Type O
2Select objects:Select the dimension, Enter
3Enter obliquing angle (press ENTER for none):Type the extension-line angle

A line at 30°, 4000 long, dimensioned with DIMALIGNED has extension lines at 120°, square to the line. Different angles typed, and the extension lines read back:

Typed angleExtension linesValue
90Vertical, 90°4000
150150°4000
30Unchanged, since 30° is parallel to the dimension line itself4000
Enter after setting 150Still 150°, not restored4000

The angle is absolute, measured from the X axis, not an offset from the current slant. The value always stays 4000. Enter does not restore square extension lines: to go back, type the square angle again, here 120.

Choosing a command for a sloping edge

You needUseExample
The true length of a sloping edgeDIMALIGNED3-4-5 hypotenuse gives 5000
The distance between sloping parallel linesDIMLINEAR → RotatedTwo walls at 30°, 600 apart
The horizontal or vertical projection of a sloping edgeDIMLINEAR3-4-5 hypotenuse gives 3000 or 4000
A dimension on an isometric drawingDIMALIGNED, then DIMEDIT → ObliqueVertical extension lines, angle 90

All four should be created from snapped points or picked objects, so the values follow the geometry when the drawing is revised.

A worked order for a skewed plan

Putting the results together gives a safe order for a plan with a wall set at 30° to the grid:

  1. Check that the Endpoint object snap is on before you start dimensioning, or plan to press Enter and pick lines.
  2. Dimension the length of each skewed wall with DAL, picking the wall line itself.
  3. Dimension the wall thickness with DLI, R, and the angle square to the wall, here 120. Pick one point on each face; they need not be opposite each other.
  4. Watch the command line. If it ever says Non-associative dimension created., type U and repeat with snapped points.
  5. If a skewed wall is drawn as part of a polyline, dimension its segment with DAL, Enter, and a click on the segment; it measures that segment alone, 2500 for a 2000 by 1500 run.

With this order, the lengths stay correct when walls are lengthened, because every dimension is attached to the geometry. The only dimensions that can drift are the ones that printed the non-associative message, and step 4 removes them before they reach the drawing set.

Three things often repeated that are not true

Often repeatedWhat holds on the 2027 release
Typed points and picked lines are equivalentBare typed points make a non-associative dimension that keeps its old value when the line changes
Oblique takes an offset from the current slantThe angle is absolute, from the X axis
Enter at the Oblique prompt restores the original linesThe extension lines keep the angle last set

Frequently asked questions

Which command gives an aligned dimension in AutoCAD?

DIMALIGNED, alias DAL. It measures along the line through the two points, so a 3-4-5 hypotenuse gives 5000.

Why does my sloping edge show a smaller number?

You used DIMLINEAR, which measures the projection. Use DIMALIGNED.

How do I dimension the distance between two sloping parallel lines?

DIMLINEAR, type R, enter the angle square to the lines, then place the dimension.

How do I make isometric-style dimensions?

Dimension with DIMALIGNED, then DIMEDIT → O, select the dimension and type the extension-line angle, for example 90.

Why did the value not change when I stretched the line?

The dimension was made from bare typed points and is not associative. Recreate it by selecting the line or by picking snapped points.

Can I dimension a polyline segment this way?

Yes. Press Enter at the first prompt and click the sloping segment.

About the author

TS. Đỗ Quốc Hoàng — Vice Director of the Institute of Information Technology in Civil Engineering, Hanoi University of Civil Engineering, and a specialist in software development for construction