doc Posted January 17, 2013 Share Posted January 17, 2013 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 Quote Link to comment Share on other sites More sharing options...
graham Posted January 17, 2013 Share Posted January 17, 2013 hou.pwd() or kwargs['node'] will give you the node that is doing the calling back. Quote Link to comment Share on other sites More sharing options...
doc Posted January 17, 2013 Author Share Posted January 17, 2013 thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.