Switch between workspaces using hotkeys?

Switch between workspaces using hotkeys?

leny.moynat
Explorer Explorer
607 Views
2 Replies
Message 1 of 3

Switch between workspaces using hotkeys?

leny.moynat
Explorer
Explorer

Hello, 

 

I've been trying to figure out how to switch between my workspaces within Maya using hotkeys as I do it alot but it seems like I can't get it to work.

 

I checked the Script Editor to see which command was used to switch workspaces, which is : "onSetCurrentLayout "LayoutName"". So I put this in a Runtime Command within the hotkey editor, it switches the name of the workspace on the top right of the Maya window but only the name, the actual workspace stays the same.

 

Is there a way to fix this, not only change the name of the workspace but switch between whole workspaces using hotkeys?

 

Thanks in advance.

 

lenymoynat_0-1708797405200.png

 

0 Likes
Accepted solutions (1)
608 Views
2 Replies
Replies (2)
Message 2 of 3

Kahylan
Advisor
Advisor
Accepted solution

Hi!

 

Try this command:

 

workspaceLayoutManager -setCurrent "Modeling - Standard";

 

I hope it helps!

 

Message 3 of 3

leny.moynat
Explorer
Explorer

Works perfectly, thanks alot my friend ! 👌