Hi Folks.
When building a Script Node, we can add inputs with commands like
--$ inCountX integer
But is it also possible to declare defaults and min/max values like
--$ inCountX integer min=1 max=10 def=2
Thanks for any hint.
Hi Folks.
When building a Script Node, we can add inputs with commands like
--$ inCountX integer
But is it also possible to declare defaults and min/max values like
--$ inCountX integer min=1 max=10 def=2
Thanks for any hint.
Hi Eric.
Thanks for the hint.
The one thing I find a bit cumbersome with e.g. the Dash Integer is,
that even when you set a min...max like 1...30,
the dashboard slider still ranges from 0...1.
So setting the desired number (like, say, 24) turns a bit into guesswork...:-)
(I'm having a hard time doing 1/30*24 in my head...:-))
Would be cool if the slider in the dash control would reflect the actual numbers between min and max!
Cheers.
Eric.
Hi,
You could use the Dash Scalar Custom module. It can show the changed values. You can also set the Max Decimals and the Ticks. You probably want to use it with the Round module:
Note, for these changes to take effect on the slider's graphics, you have to reload the view on the Pin Values. For example by selecting a different module and then selecting the Dash Scalar Custom module again.
Warmest regards,
Hi,
I think you should group your script with a dash module or so as a workaround.
Best