algorithmic modeling for Rhino
Hi all! Is any way to make a slider with multiple domains??? Lets say for example from 1-5 and 7-10, but in the same slider. The idea is to have a jump in the slider from 5 to 7 so you can´t choose this values.
I´m not looking for dispatch or conditional statement after the slider selection number, but something that applies in the slider.
Tks!
Tags:
Thanks Alex, but in the example parameters are independent so you can put any value in any slider... I´m looking for something that has 2 limited values, from 1 to 5 and 7 to 10 for example
Its gene pool found in tab parameter/utilities
 2domains_2015Dec11a.gh, 11 KB
 2domains_2015Dec11a.gh, 11 KB                             2domains_2015Dec11b.gh, 8 KB
 2domains_2015Dec11b.gh, 8 KB                            Thanks Joseph,
It works but I was looking for a solution in the slider and not in the result...
Working on it!!!
 MultiDomainCheat_PSG.gh, 15 KB
 MultiDomainCheat_PSG.gh, 15 KB                            hmm, sloppy sorry..., I meant to say (as the screen capture said): 
"If(Distance(x,6)≥1,x, NaN)"
Hi Pieter, it works, tks!
You give me a good idea to solve it!
I post the solution in the reply in order to leave it available for anyone...
Thanks you all!!!
If(x<5,x,If(x<7,NaN,x))
 MultiDomainSlider.gh, 4 KB
 MultiDomainSlider.gh, 4 KB                            Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
    © 2025               Created by Scott Davidson.             
    Powered by
    