Wire Display Toggle Switch

There is an ongoing debate in my office between those who like to organize their definitions with hidden wires for the sake of cleanliness, and those who hate them because it makes definitions hard to debug. In order to sidestep any drama, I made a little script that lets you switch all the wires in a document between "Hidden" and "Faint." It will leave all wires set to default alone. 

Download it here: WireDisplayToggle.gh

Load Previous Comments
  • zdjdevil

    Hi,is any way to switch the wires between "default" and " Faint"?

  • gotjosh

    Thanks Andrew for the starting point!

    I forked this post, here:

    http://www.grasshopper3d.com/profiles/blogs/toggle-wire-display-for...

    here is the gh file:

    WireDisplayToggle-gotjosh.gh

    I'd like to know how to attach a shortcut-key to the toggle...

  • Rodolfo Santos

    As I wrote in a another thread talking about the ability to hide the wires in a definition, I think such feature make sense when considering Education activities.

    https://www.grasshopper3d.com/forum/topics/hiding-wires?id=2985220%...

    I regularly try to teach GH to non experts and the visual complexity of elaborated definitions is a pain sometimes.

    Being able to show a cleaned version of a complex definition to focus on the approach before going into more detailed explanations  would be very helpful.

    So if I understood well, such feature would be a strong spaghetti problem ;o)

    May I suggest another approach to see if this would a less intrusive option.

    Would it be possible to add an option in the general setting/or else to change the way the wire are displayed in the UI. I mean the colours or the transparency...

    If I could modify that parameter in order to match the background colour visually cleaning the definition during a presentation would a fairly easy step.

    Thank you in advance for any answer.

    Regards

    R.Santos