Jump to content

External Text or Python File Set HDA Parameters


VonDoom

Recommended Posts

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 

  1. Load and read text file
  2. (if running Houdini in background create HDA)
  3. Store Node refrence to placed HDA 
  4. Set parameters based on read data.

 

Main class to have a look at is hou.Parm

 

 

 

  • Like 1
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...