Paper space and Model space layout

Paper space and Model space layout

Code_x
Advocate Advocate
893 Views
11 Replies
Message 1 of 12

Paper space and Model space layout

Code_x
Advocate
Advocate

Hi, I'm using AutoCAD 2024 and was wondering if there are any shortcuts or commands that would allow me to switch between paper space layout and model space layout using a combination of shortcut.  Please advise.

 

0 Likes
Accepted solutions (1)
894 Views
11 Replies
Replies (11)
Message 2 of 12

komondormrex
Mentor
Mentor

hey, 

eg. you may add shortcuts to the commands pspace and mspace via customization. 

0 Likes
Message 3 of 12

Kent1Cooper
Consultant
Consultant

Is the MODEL/PAPER toggle button in the Status Bar not a short-enough cut?

Kent Cooper, AIA
0 Likes
Message 4 of 12

pendean
Community Legend
Community Legend

Are you aware of VPMAX and VPMIN commands @Code_x 

Or do you just need the functions of PSPSACE and MSPACE commands?

OR... TILEMODE=1 and TILEMODE=0?

 

Your post is unclear on your exact need.

 

Once you decide... all you need to do is start CUI command and

pendean_0-1728321652866.png

 

 

0 Likes
Message 5 of 12

Code_x
Advocate
Advocate
When I'm in the paper space and typing 'Mspace,' it takes me to the viewport on the sheet, but not to the actual model space. I wonder why?

0 Likes
Message 6 of 12

ec-cad
Collaborator
Collaborator

If you are in a Layout tab, with a Viewport active, that's what happens.

Try just picking the "Model" tab (lower Left of screen) instead if you want to see the Model space.

 

ECCAD

 

0 Likes
Message 7 of 12

Code_x
Advocate
Advocate
Accepted solution

I discovered the solution to my own question: Ctrl+PageDown or Ctrl+PageUp switches between the model tab and the layout tab.

 

0 Likes
Message 8 of 12

ec-cad
Collaborator
Collaborator

That's 2 key clicks, vs 1 mouse click, but if it feels good - do it.

 

ECCAD

0 Likes
Message 9 of 12

pendean
Community Legend
Community Legend

@Code_x wrote:

I discovered the solution to my own question: Ctrl+PageDown or Ctrl+PageUp switches between the model tab and the layout tab.

 


That's not 'switching', that's cycling: great only if you have the one and only layout

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Cycling-through-La....

 

TILEMODE command set to 0 or 1 is "switching".

0 Likes
Message 10 of 12

Sea-Haven
Mentor
Mentor

This is a Goto for layouts, handy when you have lots of layouts, just enter a number for the layout starts at 1, Model is 0.

0 Likes
Message 11 of 12

rgrainer
Collaborator
Collaborator

Is this what you are after?

 

(defun c:tm ()
 (if (= (getvar "TILEMODE") 1)
   (command "tilemode" 0)
   (command "tilemode" 1)
 )
 (princ)
)
0 Likes
Message 12 of 12

Kent1Cooper
Consultant
Consultant

@rgrainer wrote:
....
 (if (= (getvar "TILEMODE") 1)
   (command "tilemode" 0)
   (command "tilemode" 1)
 )
....

If indeed that is what they're after, there's a shorter way to toggle something with values of only 0 & 1 to toggle between -- no checking the current value is needed:
(setvar 'tilemode (- 1 (getvar 'tilemode)))

Kent Cooper, AIA