visibility of parms in multiparm

   5393   8   1
User Avatar
Member
277 posts
Joined: July 2006
Offline
Hi!

I've got a python script:
o = hou.node('/obj/metaSculpter31')
#p = o.parmTuple('_sculptCurLayer')
p = o.parmTuple('sculpt_layerName1')
parm_template = p.parmTemplate()
parm_template.hide(True)
ui = o.type().definition()
ui.replaceParmTuple(p.name(),parm_template)

And It works with the name ‘_sculptCurLayer’ - it hides parm with this name.
But it doesn't work with parameters, that are stored in blocks of Multiparm block - is it possible to hide/show parameters in multiparm block?

thank you
User Avatar
Member
19 posts
Joined: March 2010
Offline
just to clarify. do you mean the parm for all entries or just a single one in your multi-parm?
User Avatar
Member
277 posts
Joined: July 2006
Offline
just single one
User Avatar
Member
19 posts
Joined: March 2010
Offline
as far as I know it's not possible to modify a instance of a parm in a multi-parm.
User Avatar
Member
277 posts
Joined: July 2006
Offline
ou

Will it be added in next versions? or should I send rfe?
User Avatar
Member
1926 posts
Joined: Nov. 2006
Offline
You can always submit RFEs for features, however they may not always get implemented.

Having other RFEs for multiparms I'm inclined to say this is probably quite difficult. Currently you cannot even manually hide a parameter even through the RMB menu on parameters. In general though, multiparm parameters are different then regular parameters. They behave similarly but you don't get a lot of control of them. If you create a few instance, notice they don't show up in the Edit Parameter Interface window other than the base instance parm you can use to set the block up. There's not a whole lot of room for customizability because they are pretty frail and easily destroyed.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
11 posts
Joined: Dec. 2016
Offline
Hey here ! It's been 10 years ! And i'm looking for this. Can we today hide multiparm's parameters indivisually ?

I'm currently creating a Dropdown menu of the instances of my Multiparm. And for visibility/clarty and i only want to show the current instance. is it possible today ?

thank you !
User Avatar
Member
21 posts
Joined: Nov. 2022
Offline
15 years now, and I guess it's still not possible?
User Avatar
Member
152 posts
Joined: Aug. 2012
Offline
Like this?

Attachments:
2025-08-05 00-35-26.mp4 (1.7 MB)

  • Quick Links