Jump to content
Sign in to follow this  

Create Custom Local Variable in my HDA

Recommended Posts



Is there any way to create a custom local Variable that only accesible - and altered within a node (hda)? I would like to store some data (dictionary) and access it over and over again in a node with a custom variable such as $MYVAR. Thanks

Share this post

Link to post
Share on other sites


Not sure you can store a global var just for an hda.

Maybe what you can do is to set a var with the command set or setenv:


setenv -l MYVAR = tutu


setenv -l MYVAR = tutu


hou.hscript("setenv MYVAR = tutut")


you can create this var every time you create you node and destroy it when you delete the node.

I dont know if it s a good answer.


tel me.






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