Buttons for Incremental Slider Control

Hi. Here’s a little script that ‘adds’ buttons to control the position of a slider’s knob using a step value. Should you find it practical, feel free to use or modify it.

slider’s handles.gh (8.8 KB)

ezgif-32373aeb894b9a40

The buttons are wild when I try to click them. They do not advance by one with a simple click. They are advancing in powers of two.

Could you please try changing buttons’ normal state to none and tell me if it helps?

Here’s how to do it:

That does the trick!

Hi… So I saw quite a few replies appear in a thread about Colours. Would this be what you wanted?

You consturct a list of colours based on the provided library and they get pushed into the colour component that you can then use to paint your geometry with:

slider’s handles + colour picker.gh (15.0 KB)

You don’t want to use regular buttons for this. Scripted keyboard shortcuts work more reliably

Wow, legend!

I was just using the buttons as they were present in the script.