Using dictionaries to drive HDA Processors?

   678   2   0
User Avatar
Member
59 posts
Joined: 3月 2015
Offline
In 20.5 it looks like a lot of support for dictionaries were added which seams great but I'm trying to figure out how I can have a dictionary attribute drive the parameters of an HDA processor. Seems like it should be possible but I can't find documentation or examples.

https://www.sidefx.com/docs/houdini/news/20_5/pdg.html [www.sidefx.com]

Anyone have any ideas?

Thanks so much!
User Avatar
Member
297 posts
Joined: 1月 2013
Offline
The syntax for accessing dictionary items is quite simple.

Attachments:
2024-09-11_12-15.png (111.7 KB)

User Avatar
Member
59 posts
Joined: 3月 2015
Offline
Thank you! but I was looking for a way to feed them into an HDA Processor like how you can use them to drive node parameters. I haven't been able to find a way without parsing them out with python though.

https://www.sidefx.com/docs/houdini/nodes/top/hdaprocessor.html [www.sidefx.com]

The HDA processor will automatically read work item values into drive the HDA if you write their names in one of the three arrays such as -
hdaparms_floats


But no sign of a way to drive them from a dictionary insteady.
  • Quick Links