How do I rotate the drawing in viewport?
I want to have my profile and alignment to be in the same orientation on paper space. I have VPROTATEASSOC set to 1. I am not sure if I am using UCS and MVSETUP correctly. All information will work.
Thank you,
Rochelle Vandever
Solved! Go to Solution.
Solved by tcorey. Go to Solution.
Use two viewports. In the profile viewport, no rotation at all. In the alignment viewport, use Dview with Twist option.
If you double click inside the alignment's viewport, you will be in modelspace (not to be confused with the Model tab.) Use Dview from there.
I was able to rotate the drawing but I can scale or move the drawing to line up the profile. Is there a way to keep the rotate but turn off dview?
When you get the rotation right, set the scale of the viewport. Then lock the viewport to prevent accidentally changing the scale later. Both the scale and the lock can be found at the bottom right of your main screen, or in the properties pallette.
Once you've done that you can move the viewport around in paper space, and stretch it bigger or smaller as necessary.
Mark Green
Working on Civil 3D in Canada
I just re-read your question; do you need to hit enter one more time to exit out of the dview command?
Mark Green
Working on Civil 3D in Canada
I still have the dview command on but when I escape to move the drawing. The alignment will change back to the original drawing.
This is a pretty painful solution...
Use UCS (enter) 3 (enter) click two points (left to right), this will be come your new West to East (left to right).
Final step.... Type PLAN (enter) (enter)... Proceed to set the scale of your viewport and then lock it as suggested. Good Luck!
LOL
Lets start a UCS rebellion!
Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Also make sure your viewport isn't locked.
This is a lisp routine that I use to DVIEW rotate my modelspace work. It makes it so much easier. Assuming you're alignment is one tangent, you'd pick one end then the other end.
That will be made horizontal to your viewport.
(defun dtr (x)(* pi (/ x 180.0)))
(defun rtd (x) (* x (/ 180.0 pi)))
(defun c:dvtwist()
(setq pt1(getpoint "Select the first point: "))
(setq pt2(getpoint "Select the second point: " pt1))
(setq ang(angle pt1 pt2))
(command "Dview" "" "tw" (- 0 (rtd ang)) "")
(setvar "snapang" ang)
)
Don Ireland
Engineering Design Technician
Here is a lisp someone else posted elsewhere on the forums.
Like the last one, it sets the DVIEW TWIST and the SNAPANG so that your crosshairs & ortho work horizontally to the screen.
This one lets you pick two points, or select a line, block, or text to use the rotation from.
Mark Green
Working on Civil 3D in Canada