Jump to content

getting the node object for the current hda from a call back


doc

Recommended Posts

I want to run a python script from one of my parameter's callbacks.

from that callback I want to query the value of another parameter on my hda.

something like this

foo_n=hou.node('/obj/subnet2')

foo_p=foo_n.parm("overallCull")

print foo_p.eval

My question is how can I get the node object for the hda that I'm currently using in my callback.

thanks

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...