So when you open the parm editor for a subnet or OTL and drag a multiparm block of a child node in the From Nodes tab to the parm interface of the node/OTL, Houdini does a bunch of magic to link the multiparm block and all its # parms to the child node.
How do you do this with python?
It isn't enough to just take the parmTemplateGroup which contains the multiparm and use setParmTemplateGroup on the destination node because while adding a block with the "+" value creates the new block on the child node, none of the parms are linked up automatically.
Basically I want to write a python script that does the equivalent of opening the parm editor and dragging a child node's entire parm interface to the containing subnet/OTL, including all the magic necessary to link everything up properly. Is there a python recipe for this somewhere?
Mimicing parameter editor Multiparm linking via python?
1964 3 1-
- jrcooper
- Member
- 59 posts
- Joined: April 2006
- Offline
-
- graham
- Member
- 1926 posts
- Joined: Nov. 2006
- Online
There's the opmultiparm [www.sidefx.com] hscript command that can do this so you're best to use that via hou.hscript()
Graham Thompson, Technical Artist @ Rockstar Games
-
- jsmack
- Member
- 8240 posts
- Joined: Sept. 2011
- Offline
graham
There's the opmultiparm [www.sidefx.com] hscript command that can do this so you're best to use that via hou.hscript()
what size pillow is best for crying into?
-
- jrcooper
- Member
- 59 posts
- Joined: April 2006
- Offline
-
- Quick Links

