oslo Posted August 17, 2015 Share Posted August 17, 2015 Hello guys !!! Anybody can help ? I want to add items to the ordered menu in HDA by python. On example after user press button in the HDA, script add some items to the menu. Thanks Quote Link to comment Share on other sites More sharing options...
anim Posted August 17, 2015 Share Posted August 17, 2015 can't you use Menu Script to rebuild your menu however you like? if you want a place to store and menu values you can for example use hidden string parm, or node user data, then let your menu script just look them up, and your button callback script to change them or something Quote Link to comment Share on other sites More sharing options...
oslo Posted August 17, 2015 Author Share Posted August 17, 2015 (edited) I want to connect directly button and menu. When user will press the button, menu will be filled. I cant understand how to make it with menu script. Edited August 17, 2015 by oslo Quote Link to comment Share on other sites More sharing options...
anim Posted August 17, 2015 Share Posted August 17, 2015 as I described, let button alter user dara or some string parm then let menu just lookup that parm or user data and populate the menu, I can make example once I have some time Quote Link to comment Share on other sites More sharing options...
anim Posted August 18, 2015 Share Posted August 18, 2015 ok so here is the example of one possible way add_menu_items_example.otl 1 Quote Link to comment Share on other sites More sharing options...
oslo Posted August 18, 2015 Author Share Posted August 18, 2015 Tomas is it great, thank you. Cool if we will have ability in the future releases of houdini to build gui for HDA with PySide. 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.