Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
oslo

Add items to the ordered menu in HDA

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

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

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 by oslo

Share this post


Link to post
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0