Switching between paper/model modes in case of overlapping viewports,
I got 4 viewports (screenshot is attached)
My issue here is that I couldn’t switch between the paper/model modes for the inside viewports! This can be done only for the “biggest” viewport (that bounds the other viewports)
Then how can I switch between the paper/model modes for viewport number 2, for example?
Right clicking a particular viewport (attached) doesn’t give option to do so!
Solved! Go to Solution.
If you have overlapping viewports, when you are in pspace clic inside one viewport, then try CTRL+R to swtich from one window to another ?
Thank you very much Arduenn for the help, this is very useful.
Is there a way to target a particular viewport to switch between paper/model modes? Or still I need to apply Ctrl + R and keep pressing till I reach the viewport I need?
Excuse the really pathetic code. I'm sure it could be written prettier but I'm rushing out the door from work and I suck at lisp. I don't know an easy way to do what you want but you can save the following as whateveryouwant.lsp and load it in autocad and then type zz (or change that to something easier for you to reach) and it'll let you pick one to swap to.
(defun c:zz (/ ent entlist vpnum) (command ".PSPACE") (setq ent(car( entsel))) (setq entlist (entget ent)) (setq vpnum(cdr(assoc 69 entlist))) (command ".mspace") (setvar "cvport" vpnum) )
edit: btw, you have to click on the edge of the viewport and can't click inside of it.
Many thanks Ixath for the contribution
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register