Up/Down buttons for integer IOBoxes

Good morning,

Same as we’re able to display a slider in float/integer IOBoxes, could we get an option to show +/- buttons in integer IOBoxes? That would allow to easily switch between stuff when feeding those to Switch nodes, without having to create a Counter and two bangs, for instance.

And the settings panel has it, so why not having that in patches as well? :-)

intupdown

Thanxxx

6 Likes

Totally agree. Being able to click through options is always nice, we actually always build even our dropdowns where you can just click through the options.

There is the right-mouse button drag on the integer IOBoxes, but I usually find it way too sensitive, when dealing with a switch node. I think its a difference of 1 per pixel or something. Maybe it could be a lot less sensitive by default and you press a modifier if you want it to go through values faster.

Maybe for integers the other way around - pressing a modifier for slowing it down? Would fit with what we already know from float IOBoxes.

1 Like

Oh okay, yes, then that would make much more sense.

Another idea would be that it considers the range of the IOBox. Then I could for example set the IOBox from 0 to 10 and it would be way less “sensitive” than if it’s set at the default where the range is huge.

I mean, whenever I have an index IOBox and I or another user actually use it to change something (rather than just for testing), then using an index is kind of wrong anyways. It’s okay for programming logic, but as a user interface it’s quite illogical. I wish there was an easy way to create a dropdown like you can in Grasshopper, where I can name each entry and define the output value like:

“Foo” = 0
“Bar” = 1
etc.

Then the dropdown just shows the names, but outputs the numbers.

Imagine having a dropdown with names on a switch, rather than having to go through meaningless indexes, like you see in a lot of help patches. Alas, I guess it’s not that easy to create enums at runtime in the editor, so we are somewhat stuck with using integers for switches. But I don’t think I have ever managed to just switch through the indexes one by one, it’s always a little back and forth mouse move where you go through all the indexes way too quickly. In that sense the up/down buttons would be a great compromise.

1 Like