oslo 16 Report post 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 Share this post Link to post Share on other sites
anim 630 Report post 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 Share this post Link to post Share on other sites
oslo 16 Report post 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 Share this post Link to post Share on other sites
anim 630 Report post 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 Share this post Link to post Share on other sites
anim 630 Report post Posted August 18, 2015 ok so here is the example of one possible way add_menu_items_example.otl 1 Share this post Link to post Share on other sites
oslo 16 Report post 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. Share this post Link to post Share on other sites