Special request for SetObjectDisplay Mode

Hi guys, The SetObjectDisplayMode is a wonderful command. Is there any way we can add the option of having it apply to ALL viewports (existing and any new ones created in a particular file)? I have a feeling there’s a reason why that option isn’t already there but it sure would be nice :grinning:

Thank you.

Hi Cosmas -
In the Rhino 8 WIP, you can set the viewports in the Properties panel:

-wim

I have some scripts for doing that in V7 but they will only work for all existing viewports at the time the script is run - not any new ones created afterwards.

This has a dropdown list of display modes to choose from:
SetObjDisplayModeAllViewports.py (1.8 KB)

And its antidote:
RemObjDisplayModeAllViewports.py (775 Bytes)

This one sets a specific display mode all viewports - such as “Ghosted”. The display mode needs to already exist and have the correct name. The script can be modified in a text editor for any display mode name.
SetSpecificObjDisplayModeAllViewports.py (1.7 KB)

FWIW…

Thank you, Mitch. This is great!