Jump to content

In "Edit Parameter Interface" panel, How could I change value of my slider by selecting an items in my menu?


Masoud

Recommended Posts

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

1.JPG

Edited by Masoud
Link to comment
Share on other sites

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 by anim
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...