[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Rotate View Port
Tip# 3133 By Clark Johnson On 25-Jan-2009
4
Rated By 1 users Downloaded : 1180
Categories : Paper Space
Software type : AutoCAD
Rename File To : Rotate_viewport.LSP
Clark Johnson created this routine by reworking Swaraj Baral's Rotate View in paperspace LISP routine.

Here is a routine that Clark Johnson created by reworking the Rotate View in paperspace LISP routine written by Swaraj Baral from the September 15 Tips and Tools Weekly newsletter.

I modified the program to shorten the code by using the getangle command for the rotation so the user can either pick an angle or enter the value.  The primary change was to select the angle while still in paperspace so the rotation angle of the view is more intuitive and consistent.

I also added the function of selecting a viewport to rotate, capturing its locked status, unlocking it, rotating the view and restoring the original status.

Notes from Cadalyst Tip Patrol:  Great routine.  You can either enter the angle (assuming you know it) or you can manually pick the angle with two points.
Tested in AutoCAD 2009.
 

 

Average Rating:
4


User comments
Comment by O'Connor,Art
Posted on 2009-01-27 13:00:49
There is an Express Tool that does this under "Layout Tools", select "Align Space".
Comment by rome,greg
Posted on 2009-01-27 15:57:40
Just wondering, does this perform the same function as DVIEW TWIST
Comment by rome,greg
Posted on 2009-01-27 15:58:43
does this perfrom the same fucntion as DVIEW TWIST