fragmentzero Posted August 21, 2014 Share Posted August 21, 2014 Hello I am writing a python script to run upon OnUpdate event of HDA. How can I get a reference to the asset definition of the HDA inside which I am writing code? i.e. this_hda = ? definition = this_hda.type().definition() Thanks Quote Link to comment Share on other sites More sharing options...
graham Posted August 21, 2014 Share Posted August 21, 2014 The data is available inside the kwargs dictionary. Check out the link to see which data is available for each type of handler. http://www.sidefx.com/docs/houdini13.0/hom/assetscripts#python_event_handlers Quote Link to comment Share on other sites More sharing options...
fragmentzero Posted August 22, 2014 Author Share Posted August 22, 2014 That worked. Thanks for the link. 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.