normally in houdini folderws one can call:
node.parmTuplesInFolder()
however this seems to be impossible for a multiparm block?
I have tried iterating through them by hand but i cannot seem to find the folder, I tried:
Controls1,
Controls_1,
Controls#1
etc
any pointers ?
getting all the parms from a multiparm block python
4257 1 1- freaq
- Member
- 300 posts
- Joined: 3月 2011
- Offline
- koen
- Member
- 792 posts
- Joined: 4月 2020
- Offline
>>> p=hou.parm('/obj/null1/blah')
>>>p.multiParmInstances()
(<hou.Parm first1x in /obj/null1>, <hou.Parm first1y in /obj/null1>, <hou.Parm second1x in /obj/null1>, <hou.Parm second1y in /obj/null1>, <ho
u.Parm first2x in /obj/null1>, <hou.Parm first2y in /obj/null1>, <hou.Parm second2x in /obj/null1>, <hou.Parm second2y in /obj/null1>)
Cheers,
Koen
>>>p.multiParmInstances()
(<hou.Parm first1x in /obj/null1>, <hou.Parm first1y in /obj/null1>, <hou.Parm second1x in /obj/null1>, <hou.Parm second1y in /obj/null1>, <ho
u.Parm first2x in /obj/null1>, <hou.Parm first2y in /obj/null1>, <hou.Parm second2x in /obj/null1>, <hou.Parm second2y in /obj/null1>)
Cheers,
Koen
-
- Quick Links