Hogfan Posted June 23, 2021 Posted June 23, 2021 Ok, so i used to do this a few years back and i haven't had to in a long time. So here goes, When i am setting up my section views in a viewport, I "thought" i used align if i wanted to rotate that view say 90 degrees?I would open the viewport and then type align and pick the objects and pick start and stop points. everytime i try this now, it leaves them on an angle and it's all jacked up. So i hit undo and try again to no avail. Not sure if I'm missing a step or using the wrong command? Any help out there? thank you. Quote
CyberAngel Posted June 23, 2021 Posted June 23, 2021 The ALIGN command is probably not going to do what you want. It moves the actual object in model space, not your view of it. One option is to change the UCS in your viewport. You can use the Z option to rotate in two dimensions, all you do then is type in an angle. Once you've reset the UCS, use the PLAN command to rotate your view. Set your scale, lock the viewport, and you're done. That's my preferred method. Another option is the DVIEW command. I've never sat down and researched it, but it may work better for you. I'm sure there are other options, there always are. 1 Quote
BIGAL Posted June 24, 2021 Posted June 24, 2021 Like Cyber Angel used UCS OB for years then do UCS S and can save the ucs with a name handy when you want multiple swing angles, use UCS R name in viewport. A quick warning if a object is a 3d object result can be a wrong due to the Z's often drew a temporary line and used UCS OB erased temp line. 1 Quote
SLW210 Posted June 24, 2021 Posted June 24, 2021 I just rotate the viewport. SEE THIS Maybe you are trying to recall MVSETUP? SEE THIS 1 1 1 Quote
Steven P Posted June 24, 2021 Posted June 24, 2021 46 minutes ago, SLW210 said: I just rotate the viewport. SEE THIS Maybe you are trying to recall MVSETUP? SEE THIS I'd never thought of rotating the actual viewport before, always using MVSETUP, thanks for the idea. 1 Quote
tombu Posted June 24, 2021 Posted June 24, 2021 Twist dview function by BlackBox https://forums.augi.com/showthread.php?174367-multiline-text-rotation&p=1344593#post1344593 Twist dview macro by Tom Beauford ^C^C^P(setvar 'angdir 1)(setvar 'snapang (getangle "Pick or enter TWist angle : "))(setvar 'angdir 0)(command "_.dview" "all" "" "_tw" (/(*(-(getvar 'snapang))180)pi) "") Twist dview function by Tom Beauford (defun c:TWistVP (/ *error* cmdecho angdir) (prompt "\rTWist") (defun *error* (msg) (and cmdecho (setvar 'cmdecho cmdecho)) (and angdir (setvar 'angdir angdir)) (if acDoc (vla-endundomark acDoc) ) (cond ((not msg)) ; Normal exit ((member msg '("Function cancelled" "quit / exit abort"))) ; <esc> or (quit) ((princ (strcat "\n** Error: " msg " ** "))) ; Fatal error, display it ) (princ) ) (if (and (setq cmdecho (getvar 'cmdecho)) (setvar 'cmdecho 0) (setq angdir (getvar 'angdir)) (setvar 'angdir 1) ) (progn (vla-startundomark (setq acDoc (vla-get-activedocument (vlax-get-acad-object))) ) (setvar 'snapang (getangle "Pick or enter TWist angle : ")) (setvar 'angdir 0) (command "_.dview" "all" "" "_tw" (/(*(-(getvar 'snapang))180)pi) "") ) ) (*error* nil) ) 1 Quote
CyberAngel Posted June 24, 2021 Posted June 24, 2021 1 hour ago, SLW210 said: I just rotate the viewport. SEE THIS Maybe you are trying to recall MVSETUP? SEE THIS I've tried rotating the viewport before, but I didn't know about the VPROTATEASSOC variable. You learn something every day about AutoCAD. 1 1 Quote
Steven P Posted June 24, 2021 Posted June 24, 2021 Learn something every day.... Draw viewport the size I want, set VPROTATEASSOC to 1 and rotate it (and it's view), set it to 0 and rotate it back square again (leaving it's view rotated) and hen set it to 1 again.. yes, that will work. Thsnks Quote
Hogfan Posted June 24, 2021 Author Posted June 24, 2021 Thank you to everyone for helping me out on this, it was the MVSETUP i was needing or used before. It had been so long I forgot how to do that. I am fixing to be getting back into using it more now than before, so I'll be back!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.