Command for switching to model tab from layout tab

Command for switching to model tab from layout tab

AutoDesk_222
Advocate Advocate
6,364 Views
4 Replies
Message 1 of 5

Command for switching to model tab from layout tab

AutoDesk_222
Advocate
Advocate

I have used ^C^C_model macro with keyboard hotkey for switching to model tab from layout tab. This worked with ACAD LT 2014, but now with ACAD 2018 I get message "Start tab is currently turned off". I have turned start tab off on purpose. Is there any other macro I could use to jump from layout tab to model tab?

 

I also found this lisp code but don't know how to apply it to keyboard shortcut. I would like to use macro primarily if there is one. But also would like to know how to bind lisp to keyboard shortcut.

 

(defun C:TI ()
(if (= 0 (getvar "tilemode"))
(setvar "tilemode" 1)
(setvar "tilemode" 0)
)
(princ))

AutoCAD 2025
0 Likes
Accepted solutions (1)
6,365 Views
4 Replies
Replies (4)
Message 2 of 5

imadHabash
Mentor
Mentor

Hi,

i don't know if   Ctrl+Page Down     Ctrl+Page UP     could help ? 

 

 

Imad Habash

EESignature

Message 3 of 5

AutoDesk_222
Advocate
Advocate

This helps when you want to seek through model and layout tabs one by one. I've previously binded ctrl+home to switch from any layout tab to model tab and that's often handy when you want to jump model tab behind 50 layout tabs.

AutoCAD 2025
0 Likes
Message 4 of 5

skintsubby
Advisor
Advisor
Accepted solution

hi @AutoDesk_222 

 

Add this to an icon on your toolbar ^C^C(setvar 'TILEMODE (- 1 (getvar 'TILEMODE)))

 

Thanks to @Kent1Cooper for that.

 

Mark

Message 5 of 5

AutoDesk_222
Advocate
Advocate

Thanks! This worked. Though I just noticed that ctrl + home was already binded for ^C^C_gotostart which was the reason it didnt work and returned "Start tab is currently turned off". Usually User Interface Custimization gives warning for double binds but in this case it didn't give me it. I noticed it when adding keyboard shortcut to the custom command you provided.

 

^C^C_model is also working at ACAD 2018, it just didn't work first because there was double bind with ^C^C_gotostart which is now without keyboard shortcut.

AutoCAD 2025
0 Likes