setParmTemplateGroup on multiparm block parameters

   2275   3   1
User Avatar
Member
277 posts
Joined: July 2006
Offline
Hi!
I'm trying to hide some parameters that are visible in my digital assert and are groupped in multiparm block with python.

the psedo code of that should be like:
n = hou.node(…)
g =n.parmTemplateGroup()
g.hide('readCloudProb#', True)
n.setParmTemplateGroup(g)
# I'm using ‘readCloudProb#’, because ‘readCloudProb1’ gives an error and ‘readCloudProb#’ is seen as parameter


Additional, after these changes, when I'm checking g.asCode() it seems to contain the code for parameter hiding, but this parm is always visible

This code works for parameters that are not groupped in multi[parm block. Why it does not work for multiparm?
User Avatar
Member
71 posts
Joined: Feb. 2010
Offline
node=hou.node('/out/mantra1')
a=node.parmTuple('/out/mantra1/vm_numaux')
a.hide(True)

this is one of the example for hiding multiparmblock block
User Avatar
Member
277 posts
Joined: July 2006
Offline
I do NOT want to hide MULTIPARM BLOCK, but I want to hide a parameter (like float slider, that is INSIDE multiparm block).

Of course I want to hide it from all blocks of this multiparm.
User Avatar
Member
277 posts
Joined: July 2006
Offline
Does somebody know answer for this question?
  • Quick Links