visibility of parms in multiparm

   5340   8   1
User Avatar
Member
277 posts
Joined: 7月 2006
オフライン
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: 3月 2010
オフライン
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: 7月 2006
オフライン
just single one
User Avatar
Member
19 posts
Joined: 3月 2010
オフライン
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: 7月 2006
オフライン
ou

Will it be added in next versions? or should I send rfe?
User Avatar
Member
1925 posts
Joined: 11月 2006
オフライン
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: 12月 2016
オフライン
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: 11月 2022
オンライン
15 years now, and I guess it's still not possible?
User Avatar
Member
151 posts
Joined: 8月 2012
オフライン
Like this?

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

  • Quick Links