Masoud Posted March 1, 2019 Share Posted March 1, 2019 (edited) Hi; In "Edit Parameter Interface" panel, how could I change value of my slider by selecting an items in my menu? I mean when I select "Set to min" item in my menu, I want it sets the slider's value to zero... Thanks for helping. HDA_Test_01.hip Edited March 1, 2019 by Masoud Quote Link to comment Share on other sites More sharing options...
anim Posted March 3, 2019 Share Posted March 3, 2019 (edited) create callback on your mymenu parameter that will set myslider parameter value to whatever you want upon change the disadvantage of menu is that the callback is not called when the value doesn't change, so if it's already on Set To Min, you can't invoke it just by opening the menu anch choose Set To Min again, you have to do Set To Max and then Set To min that's why I included buttons as an alternative which may be more user friendly HDA_Test_01_fix.hip Edited March 3, 2019 by anim Quote Link to comment Share on other sites More sharing options...
Masoud Posted March 4, 2019 Author Share Posted March 4, 2019 Hi "anim"; Very useful notes. How could I do the same thing without converting my geometry to a HDA? Should I use "Action Button"? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.