BIM

The rotate command in AutoCAD: three prompts and one reversing trap

The rotate command in AutoCAD asks only three questions, but one system variable can make the same typed number turn an object the opposite way.

  • TS. Đỗ Quốc Hoàng
  • 8 min read
The same shape, the same typed number 30, and two values of ANGDIR giving opposite directions of turn Photo: Screenshot taken on AutoCAD 2027 at the Institute

The rotate command in AutoCAD is among the easiest there is: pick the objects, pick a centre, type an angle. But one system variable quietly reverses the direction of turn, and when it is set the other way the same typed number gives the opposite result.

This article measures both cases on AutoCAD 2027 at the Institute, along with two options that people who have used AutoCAD for a decade have often never opened. For the full set of editing commands, see the AutoCAD for Construction course.

Three prompts, and nothing more

Autodesk's ROTATE page describes it in one line: "Rotates objects around a base point." The three prompts, copied from the 2027 command line:

Select objects:

Specify base point:

Specify rotation angle or [Copy/Reference] <0>:

Two things about that third line. The number in angle brackets is the angle from your last rotation, remembered for you. And the two words in square brackets are options most users have never typed.

The rotation angle is relative: whatever the object's present orientation, it turns by that many degrees. It is not an absolute heading.

That one word explains a great deal of confusion. People expect the rotate command in AutoCAD to accept a heading — "put this at 45 degrees" — and are surprised when a shape already sitting at 20 degrees ends up at 65. To set an absolute heading, use the reference option further down this page.

The alias, and four ways to call it

The alias is RO. We read acad.pgp on the machine to be sure, and there is indeed a line pointing RO at ROTATE.

How to call itWhat you type or click
AliasRO then Enter
Full nameROTATE then Enter
RibbonHome tab, Modify panel, Rotate
Right-clickselect first, right-click, choose Rotate

The fourth is under-used and handy: select the objects first and the command skips the Select objects: prompt entirely.

The ANGDIR trap: the same 30 turning two ways

This is the part worth writing down, and it is the part Autodesk's ROTATE page does not mention.

The ANGDIR system variable decides which way positive angles run in a drawing. We drew two identical L-shapes, typed 30 at the angle prompt for both, changed only ANGDIR, and then measured the real angle of the line afterwards:

ANGDIRTypedAngle measured after the turn
0 (default, counter-clockwise)3030.000 degrees
1 (clockwise)30330.000 degrees
Two opposite turns Photo: The blue dashed shape is the original, the solid white one is after rotating. The same typed 30 turns the left one up and the right one down

330 degrees is another way of writing minus 30. The same number typed, the shape turning the opposite way.

We measured a second system variable as a control. ANGBASE changes where angle zero points. With ANGBASE set to 90 degrees and the same 30 typed, the measured result was still 30.000 degrees — no change at all.

Those two measurements separate things that are often confused: ANGDIR affects rotation, ANGBASE does not. The reason is that the rotation angle is relative, while ANGBASE only moves the datum for absolute angles.

Spotting a drawing set the other way takes seconds: type ANGDIR and press Enter to see the current value. A 1 means the drawing takes clockwise as positive, so a positive number turns against your instinct. Reading and setting system variables is covered in our article on entering coordinates.

The copy option: turn a duplicate, keep the original

Type C at the angle prompt and AutoCAD prints a confirmation line, verbatim:

Rotating a copy of the selected objects.

Then it asks for the angle as usual. We counted objects before and after: the command creates exactly one extra object and the original stays where it was.

The saving is real. To show a door leaf open at 45 degrees beside the closed one, the old way was COPY then ROTATE — two commands and two selections. The copy option does it in one.

The reference angle option: straighten without doing the arithmetic

This option solves the most practical problem of all: a shape sits at some awkward angle, you want it level, and you do not know what that angle is.

Autodesk: "Reference. Rotates objects from a specified angle to a new, absolute angle." Two prompts, copied verbatim:

Specify the reference angle <0>:

Specify the new angle or [Points] <0>:

Our test: draw a line at exactly 20 degrees, start the command, choose R, give 20 as the reference angle and 0 as the new one. Measuring the line afterwards:

StageMeasured angle
Before rotating20.000 degrees
After rotating by reference0.000 degrees

On a real drawing you do not type numbers at all. At the reference angle prompt, click two points along the sloping edge and AutoCAD reads the angle itself. At the new angle prompt, type 0 or click two points along the direction you want. The Points option in brackets exists for exactly that.

Where to put the base point

Specify base point: sounds harmless but decides most of the work that follows. The base point is the point that stays still; everything else turns around it.

Put the base point atWhen it fits
An existing vertex, snapped with EndpointA door turning on its hinge, a member turning at a joint
The centre, snapped with Center or MidpointA circle or a symmetrical shape
A point outside the objectsA whole group turning about a building grid line

A useful habit is to pick the base point before thinking about the angle at all. Look at the drawing and ask which point must not move. On a door that is the hinge; on a bracket it is the bolt; on a whole wing of a building it is usually a grid intersection. Once that point is settled, the angle is the easy part.

Turning object snap on before you start the command is a habit worth having. A base point a few millimetres out shifts the whole group, and the further from the centre, the worse it gets. Over a ten-metre group, five millimetres of error at the base point puts the far end out by centimetres.

Rotating objects is not the same as rotating the view

The two sound alike and confusing them costs a lot of time.

Rotating objects changes their real coordinates. ROTATE does that, and every dimension and setting-out line follows along.

Rotating the view to see the drawing more comfortably should not touch the geometry at all. If you want a drawing that sits at an angle to appear square on a printed sheet, the thing to change is the viewport in the layout, not the ROTATE command.

One more practical note: rotating objects changes the drawing file, so it lands in the undo stack and in anyone else's next reference reload. Rotating a view changes nothing but what you see. The tell-tale sign of getting this wrong: after rotating, the text and the dimensions lean over too. If all you wanted was a better view, that is the signal you used the wrong command. Managing views is covered in our article on the zoom command.

Three things often repeated that are not true

Often repeatedWhat we measured on the 2027 release
A positive number always turns counter-clockwiseTrue when ANGDIR is 0; set it to 1 and typing 30 gives 330 degrees
To keep the original you must COPY firstThe Copy option is inside the command and creates exactly one duplicate
To straighten a shape you must measure its angle firstThe Reference option takes two clicks and needs no number at all

Frequently asked questions

What is the alias for the rotate command?

RO. We read it out of acad.pgp on the 2027 release and there is a line pointing RO at ROTATE.

Why does rotating by 90 turn the object the wrong way?

Check ANGDIR. Type the variable name and press Enter to see its value. A 1 means the drawing treats clockwise as positive, so a positive number turns against your expectation.

How do I rotate but keep a copy of the original?

Type C at the angle prompt. AutoCAD replies Rotating a copy of the selected objects. and asks for the angle as usual, leaving the original untouched.

Can I align something to an existing sloping edge?

Yes, with the Reference option. Click two points along that edge at the reference angle prompt, then two points along the direction you want at the new angle prompt.

Does rotating change the drawing or only the display?

It changes the drawing. The objects take new coordinates, the edit goes into the undo stack, and anyone referencing the file sees the new position on their next reload. If you only wanted a more comfortable view, rotate the viewport instead and the geometry stays exactly where the survey put it.

Do text and dimensions turn with the objects?

They do, because they are part of the selection. To leave text upright, keep it out of the selection set, or use TEXTALIGN afterwards to put it back.

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