The drawing on screen sits at 2,839,693 and minus 864,958. Relative coordinates are fine, but typing an absolute coordinate means counting digits. That is exactly the moment to reach for the UCS in AutoCAD.
This article measures one point before and after moving the origin, and again after rotating the axes, on AutoCAD 2027 at the Institute. For the whole discipline of accurate drafting, see the AutoCAD for Construction course.
Moving the origin turns nine digits into 1000
We drew a rectangle, took a point exactly 1000 across and 500 up from its lower-left corner, and read that point's coordinates in each state of the axes.
| State of the axes | Coordinate read |
|---|---|
| World | 3839.69 and −864458.0 |
| After moving the origin to the corner | 1000.0 and 500.0 |
| After rotating the axes a further 30 degrees | 1116.03 and −66.99 |
The middle row is the whole reason this command exists. Same point, same place on the drawing, and the number you read is suddenly something you can type.
The last row is worth checking by hand, to prove the measurement rather than trust it. The point is at 1000 and 500 from the new origin; rotate the axes 30 degrees and the new coordinate is 1000 times cos30 plus 500 times sin30, which is 1116.03, and minus 1000 times sin30 plus 500 times cos30, which is −66.99. The machine printed both numbers exactly.
Rotate the UCS and gain more than tidy numbers
The rectangle has not shifted; only the axes have tilted. We read UCSXDIR, the direction of the X axis, before and after:
| State | UCSXDIR |
|---|---|
| World | 1.0 and 0.0 |
| After a 30 degree rotation | 0.866025 and 0.5 |
That second pair is the cosine and the sine of 30 degrees, which is what a rotated axis should read.
The real gain from rotating is not the coordinates at all. It is ortho mode. Press F8 and draw, and the cursor now follows the new axes instead of the horizontal and vertical of the screen. Drawing a building block set at 30 degrees to north becomes as easy as drawing one square to the page.
For the same reason dimensions follow the new axes, so a dimension string along the skewed block stays properly aligned instead of stepping.
The UCS command offers ten options
The prompt, copied verbatim from the 2027 release.
Specify origin of UCS or [Face/NAmed/OBject/Previous/View/World/X/Y/Z/ZAxis] <World>:
Four of those options cover almost everything in a two dimensional drawing.
| Option | What it does |
|---|---|
| (pick a point) | moves the origin there, axes keep their direction |
Z | rotates the axes about the vertical axis, angle typed in |
OBject | takes the axes from an object already drawn |
World | returns to the world coordinate system |
Previous | steps back to the previous set of axes |
OBject is the biggest saving and the least used. Point at one edge of the skewed block and the axes snap to that edge, with no need to know how many degrees it is turned.
Two options on that list belong to three dimensional work and are worth naming so they stop looking mysterious. X and Y rotate the axes about the horizontal axes rather than the vertical one, which is how you set a working plane on the face of a wall. Face does the same job by picking a face of a solid directly. In a flat drawing you will never reach for either, which is the honest answer to why most tutorials skip them.
The UCS icon is what most people want to switch off
The most common question on this subject is not how to use the command at all. It is how to get rid of the two-arrow symbol in the corner of the screen.
The command is UCSICON, and the system variable of the same name records the state. The Autodesk UCSICON page describes it as "Controls the visibility and placement of the UCS icon." We measured:
| Action | UCSICON |
|---|---|
UCSICON then OFF | 0 |
UCSICON then ON | 1 |
UCSICON then ORigin | 3 |
Autodesk spells out each value. Zero is "Off; No icon is displayed", one is "On; the icon is displayed only in the lower-left corner of the current viewport or layout", and three is "On; Displays the UCS icon at the origin, if possible."
Three is the setting worth knowing and the one almost nobody uses: the icon sits on the origin instead of parking itself in the corner. One glance tells you where the origin is, and the illustration above is in exactly that state.
None of this touches the geometry, which is the point most often missed about the UCS in AutoCAD: the symbol is a display setting and nothing more. Worth adding: the icon only sits on the origin while the origin is on screen. Scroll the origin out of view and the symbol returns to the lower left, which is behaviour, not a fault.
Cancelling the UCS and returning to the world coordinate system
Two routes, depending on whether you want one step back or the whole way.
All the way back: type UCS and press Enter. The default in angle brackets is World, so two presses of Enter is the entire operation.
One step back: type UCS and choose Previous. Useful when you have just rotated the axes to draw one detail and want the previous state again.
To know which system you are in, read WORLDUCS. We measured 1 while in the world coordinate system and 0 immediately after moving the origin. One variable, one number, nothing to guess.
If a drawing uses a few fixed sets of axes, name them with the NAmed option and recall them by name. Typing coordinates inside a new set of axes is covered in our article on coordinates in AutoCAD.
Three everyday jobs for the origin of the UCS
Enough theory. These three situations are where the command genuinely saves time.
One: drawing a skewed building block. Use OBject and point at the skewed edge, or Z and type the angle. Then press F8 and draw as though the block were square to the page. This is the most valuable use and the most overlooked.
Two: reading relative coordinates across a detail. Move the origin to a corner of the detail, then move the cursor. The readout on the status bar becomes the distance from that corner, which checks a dimension without running a measuring command.
Three: inserting blocks along a member. A block takes the direction of the current axes, so setting the axes along a skewed member and inserting gives a block already correctly aligned, with no rotation afterwards.
The habit that matters in all three is to return to the world coordinate system as soon as you have finished with the UCS in AutoCAD. Leaving skewed axes in place and then working on something else is where those mysteriously crooked lines come from.
One warning belongs here. Text and hatch patterns are placed relative to the axes in force at the time, so annotating a drawing with skewed axes still in place gives skewed text. That is genuinely useful when labelling a skewed block, and a nuisance in every other case.
Each viewport keeps its own set of axes
A detail worth knowing when working in a layout. The variable UCSVP decides whether the axes are stored per viewport, and on our machine it measured 1, meaning they are.
So rotating the axes inside one viewport to draw a skewed detail leaves every other viewport alone. That is also the mechanism behind rotating a drawing inside a layout, which we cover in our article on rotating a drawing in a layout.
UCSORTHO, measured at 1, does a different job: switching to a standard view changes the axes to match. In a flat two dimensional drawing it does almost nothing, but in three dimensional work it is a real convenience.
Three things often repeated that are not true
| Often repeated | What we measured on the 2027 release |
|---|---|
| Changing the axes changes the coordinates of the geometry | Nothing moves; only the numbers you read change |
| Removing the axis symbol means deleting something | UCSICON then OFF, and the variable reads 0 |
| Rotating the axes rotates every viewport | UCSVP measured 1, so each viewport keeps its own |
Frequently asked questions
What is the UCS command for?
Moving the origin and rotating the axes to suit the part you are drawing. Coordinates become readable, and ortho mode follows the new directions.
How do I turn the two-arrow symbol off?
Type UCSICON and choose OFF. Choose ORigin instead and the symbol sits on the origin, with the variable reading 3.
How do I rotate the UCS when I do not know the angle?
Use the OBject option and point at an existing edge. The axes align themselves to it.
How do I get back to the world coordinate system?
Type UCS and press Enter twice, because World is the default. For one step back, choose Previous.
How do I tell which system I am in?
Read WORLDUCS. A value of 1 means the world coordinate system, and 0 means a set of axes you defined.