Show hide all panels toggle or toggle workspaces

I was wondering, is it possible to create a toggle option between workspaces or to show/hide all panels of a workspace with a toggle? I want to have this so I can easily close unnecessary UI panels for when I work in split view with Grasshopper on a single monitor.

Hoi -

The point with the Window Layouts (they are not called workspaces anymore) is that you can create and save the ones that you need. You can then create an alias or button with a macro to restore any of those.
-wim

Can macros be made to toggle them or would that require a script/ custom command?
That would be like Tab to toggle Canvas only view in Photoshop or Ctrl + Spacebar combination you often see. I prefer a simple one button approach here :wink:

Hoi -

That would require some script.
Apart from that, we have it on the list to fix the Fullscreen command so that it works with the new Rhino 8 UI - RH-69852 Fullscreen: Update command to work with containers
… but that is not a toggle either. It can be turned off with the Esc key, though.
-wim

Ah I see. I think a function to set up two Window layouts that are toggled would also be neat, so you can determine how Fullscreen looks (e.g. keep layers panel available) and the second being the full-blown workspace.

E: @wim wouldn’t escape be triggered accidentally when running Grasshopper?

@Helvetosaur would you perhaps be interested in creating a script that toggles between two Window layouts? :innocent:

Could multiple Window Layouts possibly be “preloaded” at Rhino start or after the first toggle, so further toggling between them would be instant?
Something like this works in Blender.

I toggle between these Blender UI layouts often during work and it’s no issue for me - they switch instantly.

Toggling between Rhino Window Layouts is taking too much time and all those dramatic UI changes are unpleasant.

1 Like

@Czaja Thanks for pointing this out. I’ve logged RH-72830 Faster redraw of window layout when switching to another window layout

@Gijs not sure if related, but when I open the options menu with the Keyboard shortcuts section, it takes quite a bit to load.

Managed to get this working using Powertoys :slight_smile: so I deleted my previous comment.

One thing I do notice is that there are specific toggles for the Left and Right sidebar, but if I want to use a funky panel layout like this, I cannot toggle the bottom — or whatever it’s location is — sidebar.
So could there be a command to toggle all sidebars as well?

Hoi -

If you specifically have the Materials panel in a container at the bottom, and if you want to toggle the state of all three of those at the same time, you could use the following macro as an alias, keyboard shortcut, or button:

-Materials ShowPanel Toggle Enter ToggleLeftSidebar ToggleRightSidebar

-wim

1 Like

Thanks for the help @wim, it was a just an illustration to ask for a toggle all sidebars. But indeed, forgot to report back for the '_ToggleLeftSidebar '_ToggleRightSidebar alias to toggle both left and right panels at the same time. :wink:

That and the use of custom shortcuts made in PowerToys really improve my Grasshopper workflow by a lot. I basically have what I wanted now, thanks! :tada: :smiley: