AutoCAD – Drawings

The plan command in AutoCAD: straightening a tilted drawing

The plan command in AutoCAD brings the view back to the original axes when a drawing suddenly tilts. We measured it with VIEWTWIST on AutoCAD 2027.

  • TS. Đỗ Quốc Hoàng
  • 8 min read
The same drawing on AutoCAD 2027: the view tilted, and after typing PLAN and choosing World Photo: Screenshot taken on AutoCAD 2027 at the Institute

You are drawing away and the whole sheet suddenly sits at an angle. No amount of panning or zooming puts it right, because this is not a zoom problem at all. The plan command in AutoCAD is the button that puts everything back on its original axes, and it takes two presses of Enter.

This article measures it on AutoCAD 2027 at the Institute using a figure you can read back, so you know exactly what you have just done. For a full grounding in coordinate systems and views see our AutoCAD for Construction course.

Where to start it

Read straight out of the acad.cuix interface file of the 2027 release on the machine, and the table explains why so few people know it.

CommandAliasRibbonClassic menu
PLANnonenoneView → 3D Views → Plan View
UCSDDUCSnoneTools → New UCS
VIEWV, DDVIEWView → Named Views → View ManagerView → 3D Views

PLAN has no alias, no ribbon button and no toolbar button. There is exactly one route in the classic menu, and today's default interface does not show that menu. Typing all four letters is what is left.

The sequence is short, copied verbatim from the 2027 release:

Enter an option [Current ucs/Ucs/World] <Current>:

Three choices, and the one you want when the drawing is tilted is World. Type W and press Enter. The default in the angle brackets is Current, so pressing Enter straight away does something different, and that catches people out.

Autodesk describes the command in one line on the PLAN page for the 2027 release: "Displays an orthographic view of the XY plane of a specified user coordinate system". The word view is the point: it touches nothing else.

Of the World option the same page says: "Generates a plan view of the World Coordinate System". That is the drawing's fixed frame, the one nobody can move, which makes it a safe place to return to.

Why a drawing suddenly tilts

The cause is almost always that the coordinate system was rotated and the view then followed it. Nothing is wrong with the geometry, which is why moving objects about never helps and only risks making things worse.

Tilted and straight Photo: The VIEWTWIST figure measured after each step on AutoCAD 2027

We measured it with the VIEWTWIST variable, which holds the rotation angle of the view in radians. Converted to degrees for readability.

What was just doneVIEWTWISTIn degrees
At the start, World coordinates0.0000
Rotate the UCS 30°, UCSFOLLOW at 00.00000° — the view did not move
Type PLAN, choose Current ucs5.7596330°, that is 360 − 30
Type PLAN, choose World0.00000°, straight again

The second row is the one to notice: rotating the coordinate system does not tilt the view by itself. The drawing still looks straight; only the little axis arrows in the corner lean over.

The third row shows that PLAN is what rotates the view, and that it rotates by exactly the angle of the coordinate system.

Across all four measurements VIEWDIR stayed at (0 0 1). On a flat drawing, then, this command changes the twist and nothing else.

How the three options differ

World returns the view to the drawing's original axes, whatever system you happen to be standing in. This is the emergency option, and it is the one you want nine times in ten.

Current ucs looks squarely at the system in use. Useful when you have deliberately rotated the axes along a diagonal road and want to draw along it comfortably.

There is a practical reason to know all three rather than just the first. On a site plan that follows a road at an angle, the sensible working habit is to set the axes along the road, use Current ucs while drawing that stretch, and return to World before dimensioning or plotting. Mixing the two up midway is what produces sheets where half the annotation leans.

Ucs looks at a named coordinate system saved earlier. To use it you must first save a system with the UCS command's Named option.

Setting and rotating coordinate systems is covered in our article on the UCS in AutoCAD.

The UCSFOLLOW variable, the switch that tilts things

One variable makes the drawing tilt instantly with no warning, and it is called UCSFOLLOW.

Measured on the machine, it defaults to 0, meaning the view sits still when you change coordinate systems. Set it to 1, rotate the axes on to 75 degrees, and VIEWTWIST reads 4.9742 radians, exactly 285 degrees, which is 360 − 75.

In other words, with UCSFOLLOW at 1 the view follows the axes automatically, with no command called at all.

This is the culprit behind most sudden tilts. An office template, or a line inside some lisp file, switched it on and never switched it back.

Checking takes seconds: type UCSFOLLOW and press Enter; if it reports 1, type 0 and Enter. The variable is stored per viewport, so a drawing with several viewports needs it turned off in each.

Straightening a drawing in the right order

Put together it is a three-step routine, and in this order it works every time.

Step one: turn the switch off. Type UCSFOLLOW and enter 0. Skip this and the rest is pointless, because touching the axes tilts everything again.

Step two: return the axes to the original. Type UCS and press Enter twice, or type UCS then W. Check by reading WORLDUCS: a 1 means you are on the original frame.

Step three: bring the view back square. Type PLAN, type W, press Enter. Read VIEWTWIST again: 0 means done.

After those three, type Z then E to zoom to the extents and the drawing looks entirely normal again. It is worth doing them in this order every time rather than guessing, because each step undoes a different part of the problem and skipping one leaves the tilt half fixed.

There is a variation worth knowing. If only one drawing tilts while the rest behave, the setting lives inside that file rather than in the program. Save it after fixing, or it will open tilted next time.

If every drawing tilts, the cause is the template. Open your template, run the three steps, and save the template itself.

One more note: if the tilt is confined to one viewport in a layout, this is not where to fix it. A layout viewport has its own twist angle, covered in our article on rotating a drawing in a layout.

A plan view compared with named views

The two get muddled, but they do different jobs.

PLAN only looks straight down along one coordinate system. It remembers nothing, saves nothing, and leaves the zoom level alone.

The VIEW command, aliased V, opens the manager for named views. There you save position, zoom and angle together, and recall the lot later by name.

On a large drawing the habit worth forming is to save a few working views with VIEW, and keep PLAN for the moment when everything needs to go back to the original axes.

There is one more difference people overlook. Named views travel inside the drawing file, so whoever opens it next can recall exactly the same views. On a set that several people work on, saving a view per section is the tidiest handover there is.

Three things people say that are not true

What people sayWhat the 2027 release actually does
Rotating the axes tilts the drawingIt does not. VIEWTWIST still read 0 after rotating the axes 30 degrees
Typing PLAN straightens the drawingOnly with World. Current ucs rotates it to match the axes in use
A tilted drawing means a damaged fileUsually it just means UCSFOLLOW is at 1; enter 0 and it stops

In short, the plan command in AutoCAD does not change the drawing, it changes how you look at the drawing. No geometry is touched, so running it by accident costs nothing.

Frequently asked questions

What is the alias?

There is none. Type all four letters of PLAN, since the command also has no ribbon button.

My drawing is tilted. What do I type?

PLAN, then W, then Enter. If it tilts again afterwards, set UCSFOLLOW to 0.

Can this damage the drawing?

No. It changes the view only and touches no geometry.

Why do the axes rotate but the drawing stay straight?

Because UCSFOLLOW is 0. That is the default, and the value worth keeping.

What if the tilt is in a layout viewport?

A layout viewport has its own twist angle and must be fixed there, not with this command.

How do I save a view I use often?

Use the VIEW command, aliased V, and give the view a name.

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