Python: Get the Domain of a Slider



Is it possible to access the domain of a slider (that is connected to the component) within the python component?



Anyone? @stevebaer @piac

(Giulio Piacentino) #4

Hi Miguel

@DavidRutten will do a better job than me of explaining all implications, – here are two opinions I have about this: my first impression is that this might go slightly counterintuitively for users. Another point, maybe a warning, is about solution order: do not edit the slider from components further down the line during solution. It will not work.

That being said, here is an example:


Giulio Piacentino
for Robert McNeel & Associates (4.8 KB)


thanks a lot @piac.

I really appreciate it. The script is a single component, so hopefully I wont run into any problems.