Search the Community
Showing results for tags 'ordered menu'.
Found 3 results
Hey folks, I have a simple subnet that I use to reduce the poly-count of incoming geometry. I have exposed some parameters and added the ordered menu "Level of Detail". I want to be able to use this dropdown menu as a list of presets to fill in the three values into the fields below. I then want to be able to adjust the values via the sliders. I'm sure there is a straightforward solution to this that I do not see. Thanks a bunch for your help, Felix
gache posted a topic in General Houdini QuestionsHi , I am building currently building an HDA with an important interface (lots of tabs and multiParm list inside multiParm list .. ) so I wanted to use python in "Menu Script" to list a string array stored in the detail attribute to populate on of my ordered menu, after I finally got it to work on a null to experiment then I tried to replace my previous ordered menu with manually typed string with the new one using python script and houdini crashes each time I try. What's weird is that I am able to read the channel and access the value with no problem outside the HDA. Does anyone knows why this is happening, am I missing something here ? Edit : It seems that when I try to return the string inside the HDA, it gives me -1, but even if I just print that value, houdini still crashes and why it return that value only inside the HDA ? Also when I enable "Use Menu Item Token as Value" I am able to return the corresponding ID of my selection without crash, but I want the string value of course. The python script I use : node = hou.pwd() geo = node.geometry() menu =  data_list = geo.stringListAttribValue("data_list") for data in data_list: menu.append(data) menu.append(data) return menu
Alain2131 posted a topic in General Houdini QuestionsHey there ! I want to show a tooltip (like the Help box at the bottom of the Parameter tab) for each of the Ordered Menu's items. Is it possible ? Thanks !