検索 - User list
Full Version: Python Button in unity Engine
Root » Houdini Engine for Unity » Python Button in unity Engine
hitch
Hi.

I have been playing around with creating interface options in Houdini
I have created a button that runs a python script that modifies the contents of a font sop, works fine in Houdini, but the button has no effect when it is merged into Unity.
I am assuming its something simple i am missing, or is this type of thing not done with python?
Any help would be greatly appreciated.

Cheers,

Hitch.
Ambrosiussen
Hi,

Your hip file did not include the full definition of your HDA.. But I do have some assumptions of what might be going wrong.

Your HDA is locked when you use it in for example Unity Houdini Engine. This means that you cannot make changes to any parameters that have not been promoted to the top level. To work around this promote the parameters you would like to modify to the top level, and update those using your script instead.
hitch
Hi,

Thank you so much for this, The top level piece did the trick.

Cheers.

Ambrosiussen
Hi,

Your hip file did not include the full definition of your HDA.. But I do have some assumptions of what might be going wrong.

Your HDA is locked when you use it in for example Unity Houdini Engine. This means that you cannot make changes to any parameters that have not been promoted to the top level. To work around this promote the parameters you would like to modify to the top level, and update those using your script instead.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB