EwanW Posted February 11, 2015 Share Posted February 11, 2015 Hi!Was just wondering if anyone has a good way of setting defaults on an HDA through python?Sure it must be fairly simple but I can't seem to find a specific command. Ideally it would be the same as clicking Copy defaults from node?Thanks for any suggestions. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted February 11, 2015 Share Posted February 11, 2015 The defaults are normally set with the parameter interface stuff (like a default float value or whatever other parameter). Though it's possible to do with Python as well and run it when the node is created. Can you be more specific about what you're trying to do? http://www.sidefx.com/docs/houdini14.0/hom/hou/Parm http://www.sidefx.com/docs/houdini14.0/hom/assetscripts#node_initialization_scripts Quote Link to comment Share on other sites More sharing options...
EwanW Posted February 11, 2015 Author Share Posted February 11, 2015 I have a node which I am turning into an HDA with a script. I want the settings at object level to be saved as defaults as if I had used Type Properties/Save Defaults from Node. I want to take the object level parameters and save them as defaults when the HDA is created. 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.