Visibility settings in command prompt

Hi,

I want to set a keyboard shortcut for toggling visibility of certain types of object in viewport, eg. Mesh Wires. How do I access Display Modes settings in command prompt, so I can make a macro for that?

The solution I use now is to make a copy of a Display Mode, set its visibility properties to a certain value and then use two keyboard shortcuts to set one or the other display mode (SetDisplayMode). The drawback is that I have to use two keys and the toggle is limited to one display mode only (eg. wireframe).

Michał

Hi Michal - the short answer is, in the Rhino UI, you cannot - you’ll need scripts.

-Pascal