pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

Using Pyrevit extensions for Dynamo script with slider input

Open yonatanst opened this issue 3 years ago • 3 comments

Hi, I created a Dynamo script with number slider as input. when using it through Pyrevit extensions the input doesnt exist and the script runs with the default number. Is there a way to input data for a script using Pyrevit extension like in Dynamo player? thanks

yonatanst avatar Jun 15 '22 08:06 yonatanst

Hi, If you mean using the OOTB slider, it won't work. You would need to use your own UI slider (WPF for example) to do so. If using the Data-Shapes nodes, it should work, you might have to be careful to change the runtype to Automatic.

jmcouffin avatar Jun 19 '22 08:06 jmcouffin

a screen capture of the graph and the graph itself vould help

jmcouffin avatar Jun 19 '22 08:06 jmcouffin

There are standard methods to ask for values in pyrevit.forms. Maybe we can add number sliders as well

eirannejad avatar Sep 04 '22 22:09 eirannejad