Macro help with toggling curves display on and off

I’m trying to optimize my workflow.
Iäve noticed that in the past couple of years I’ve been clicking a lot of times in the Display Modes General settings turning on and off Curves (mostly), sometimes points and annotations, and I imagine with SubD it’ll be more used.

Is there a way to assign a shortcut to toggle those display options on and off quickly?
I would imagine a macro would work, but not sure what to write.

Having all these settings accessible by macros would be very useful, but just checking that you know about this ‘display’ tab already:

it’s a much faster way to toggles most things (not all) on a display mode.

G

1 Like

Hi Artur -
Other than the Display panel, you could create multiple display modes and assign these to keyboard shortcuts, aliases, or toolbar buttons with the '_SetDisplayMode _modeName command syntax.
-wim

2 Likes

Yep, this is where i check and uncheck Curves display many many times through the session.
Especially now that Rhino real time render is good that you can model, and then just turn off everything to present on screen.

Right, that was my first thought,
but it would be too many new display modes.
Sometimes I’d like to hide the curves in arctic view, sometimes in rendered, etc.
sometimes in Arctic view i’d like to show surface edges.
And I’ve been modelling in Rendered view with SubD and already started to notice the tendency to switch on and off the subD wires and creases.

Does anyone know if these settings are accessible via scripting?

Toggles that can be applied to buttons/keyboard shortcuts for these would be really useful.

The ones I use the most are
Surface edges
Surface Isoparms
SubD wires/creases
Mesh edges
Curves
Points
Annotations

G

1 Like

Yes, all DisplayMode settings are accessible via scripting and the toggles are possible to implement.

1 Like

How would you write a script for SubD wires toggle on/off?

Continued here:

1 Like