VonDoom Posted November 15, 2019 Share Posted November 15, 2019 Hi everyone, Does anybody know how I can set an HDA's parameters with an external Text or Python File? For example how would I change the sizex and sizey parameters of a Grid SOP in the HDA. Thank you, I appreciate any help! - Von Doom Quote Link to comment Share on other sites More sharing options...
Maurits Posted November 18, 2019 Share Posted November 18, 2019 Short answer: yes. Long answer: There are 2 ways you could do it. depending on what you want to do. 1) Use an external python script to open Houdini in the background, place a HDA and set parms. (required the loading of the Hou library into your python script) 2) normally use Houdini and use a python node/python shell. In both cases you would Load and read text file (if running Houdini in background create HDA) Store Node refrence to placed HDA Set parameters based on read data. Main class to have a look at is hou.Parm 1 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.