Macro help with toggling curves display on and off

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