Hello Experts,
I need to write out to a file all the parameters and their values for a subnet with a complex parameter interface -- essentially a table with the parameter labels and their evaluated content. The parameters in question are very complex, with a lot that are only available if certain toggles are true, etc. I would like to automate this, since it's going to take hours, and so I've been trying to find a way, perhaps through the hython API, to grab these things out of the parameter interface. Writing it out is easy, but figuring out how to get the stuff to write out is eluding me. I haven't been able to find anything.
If anyone knows an approach I might take, I'd love to hear about it. And of course, my apologies if I've missed a post already about this -- I didn't find anything in my searches.
Thanks so much,
Mary
How to automate dumping all the parameters for a subnet?
1016 4 1- mgbaker
- Member
- 73 posts
- Joined: 4月 2020
- Online
- animatrix_
- Member
- 4500 posts
- Joined: 2月 2012
- Offline
Hi,
You can loop over hou.node.parms() using Python HOM.
You can loop over hou.node.parms() using Python HOM.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- tamte
- Member
- 8535 posts
- Joined: 7月 2007
- Offline
- mgbaker
- Member
- 73 posts
- Joined: 4月 2020
- Online
- jsmack
- Member
- 7747 posts
- Joined: 9月 2011
- Offline
-
- Quick Links