I want to create a node that have function same as Integer Slider Node, but it will be control by two button to increase and decrease value
Is it possible in Dynamo?
I just think about using winform in python but don’t know exactly how to do.
Please share your ideal or solution.
You could also use Dyno browser to create buttons http://tools.prorubim.com/en/dyno/
And also PyRevit to create UI buttons https://github.com/eirannejad/pyRevit
I haven’t tried this, but apparently sharpdevelop has an ironpython winforms template that can provide a UI for your design:
Tho I’m not sure how useful the end result will be to you, because when you launch a winform application through a python script, the entire dynamo graph execution will be paused until your new application is closed. That means that the your workflow will be more fragmented compared to using a traditional nodemodel node, i.e. :
- run the graph
- graph stops
- new window with slider pops up
- adjust and close the new window
- graph continues