Hi, Im an old grasshopper user but newish to programming for it (C#)
I need to have a number slider automatically set the decimal points, min, max and default value when a user drags to it from my component, instead of three decimals and 0 - 1
Is there an example anywhere I can follow on this please?
Do you want to create a connected number slider whenever one of your components is instantiated, or do you want to modify any existing slider when it gets connected to one of your inputs?
The difficult bit is the same in either case, you just have to decide whether you want to mess with existing sliders. It may upset users. Also, if a slider is used to feed two parameters both of which have different demands, who wins?