UCS: Not Just for 3D Drawings
In an effort to dispel the overriding myth that the UCS deserves to be turned Off unless you’re working in 3D, I’d like to show you a very simple yet powerful 2D application.
Life doesn’t hand us perfectly orthogonal drawings all the time. For those unique situations – or not so unique situations in the mapping and civil engineering fields – the following procedure will enable you to bring a non-orthogonal line to be horizontal in the drawing window.
Instructions for using the UCS to ‘rotate’ the drawing view:
1. Turn on the UCS icon (View Display UCS Icon On), if it isn’t already.
2. Set the UCS icon to the Origin using View Display UCS Icon Origin. This will enable you to understand what’s happening a bit easier.
3. To align the User Coordinate System with an existing line, use Tools New UCS Object, then select a line to which align the X-axis of the UCS as shown in the first illustration.
The second illustration displays the origin of the UCS anchored on the nearest endpoint of the line selected. The positive portion of the X-axis is pointing toward the opposite endpoint of the selected line.
4. To reorient the view of the drawing, type PLAN at the command line and press [Enter] for the default <Current> UCS or select View 3D Views Plan View Current UCS.
AutoCAD will perform a Zoom Extents, but the X-axis of the UCS will be horizontal in the drawing.
5. To put the UCS back to World, type UCS at the command line and you’ll see that <World> is the default, so press [Enter]. Or you could choose Tools New UCS World. Now use the Plan routine to put the X-axis horizontally in the drawing as per step 4.
Other things to consider:
A. Create a Lisp routine to do it for you. Take a look at the opening article in the February, 2003 ‘Michael’s Corner’.
B. Use the Properties option of the UCSICON command to change the color and size of the UCS icon.
C. Set the UCSFOLLOW variable to <1> to cause the drawing to automatically orient the X-axis to horizontal each time the UCS is reoriented. Use with caution.
|