Hi all!
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.
Thanks!
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
1 Like
I haven’t tried this, but apparently sharpdevelop has an ironpython winforms template that can provide a UI for your design:
http://community.sharpdevelop.net/blogs/mattward/archive/2009/05/12/IronPython2FormsDesigner.aspx
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
1 Like