Manipulate slider values via code

unhandled
#1

Hi guys,

Is it possible to change values of slider (current value and limits) via code from the Custom Component that slider is connected to?

Thanks,
Dmitriy

(Keyu Gan) #2

Yes. But you need to do it in a separate method other than SolveInstance because any change will expire your component as well.

See The only safe way to Update Sliders in Python

#3

Thanks!
Will test it out.