HDA Type Properties - Node Tab in Python

   3633   2   1
User Avatar
Member
66 posts
Joined: 3月 2017
オフライン
Hi guys,

I was looking around to see how to access (get/set) any of the parameters of the Node tab of a HDA type properties, but couldn't find anything in the doc.
How can I get/set the guides, editable nodes, dive targets etc. in Python ?

Thanks a lot,

Julien
VFX Supervisor @ MPC London
User Avatar
Member
9387 posts
Joined: 7月 2007
オフライン
start with https://www.sidefx.com/docs/houdini/hom/hou/HDADefinition.html [www.sidefx.com]
then DiveTarget, MessageNodes, EditableNodes, … for example and many others are accessible through .sections() and .addSection()
Guide geometry can be get or set using .extraInfo() and .setExtraInfo()

the easiest may be to just print out those data for manually set up asset, to see what are their key names and how they are stored in sections and extraInfo
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
66 posts
Joined: 3月 2017
オフライン
ah I see!

I got confused because the guides is the fist thing I looked at, and it was not in the sections, whereas some other ones like “Dive Target” and “Editable Node” are …

Thanks!
VFX Supervisor @ MPC London
  • Quick Links