Grasshopper

algorithmic modeling for Rhino

Hi David,

I've been using the RCP quite a lot lately and have come to appreciate how a Boolean Toggle published in the RCP acts more like a radio button requiring only a single mouse click to change state. Would it be possible to have a Boolean Toggle on the canvas have this same behavior? Perhaps this option could be set on a per Toggle basis or in the preferences.

The main issues I have with double clicking are pretty neatly summed up by Jeff Atwood, specifically this point:

"The mechanics of double-clicking are unnecessarily demanding. It requires precise timing and good motor skills. Click too fast or too slow, or move the mouse too much between clicks, and you might miss the window. What next? Triple click? Click and hold? Mouse Gestures?"

This is also sorta very related to some of my previous motor skill issues with the GUI ;)

Best,

Anders

Views: 1932

Replies to This Discussion

Here's a quick hack to manipulate a toggle with a button. It will not compete for any beauty contests soon.

Attachments:

Here's one that might:

Use a Value List and set the contents to:

False = 0

True = 1

Then right click on the component and select Value Cycle. This will allow a single click to move the list on one entry at a time always returning to the beginning which ever button you click. 

EDIT: this is by no means a demonstration that the facility is not required just a current setup work around.

Obvious down side to this is that Value List does not get published to RCP

Precisely. I have also been using the value list as a workaround. Though as a Check List instead of Value Cycle and exploiting the fact the None will evaluate as False in Python conditionals (attached an example). Thanks for the replies guys..

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service