How to create a multi-select menu with check to HDA?

   660   6   1
User Avatar
Member
23 posts
Joined: 10月 2021
Offline
I am trying to add a multi-select menu to my HDA, similar to the Group Name parameter of the Group node.
But I found that the Group node's menu is prompted with a checkmark, how do I implement this?

Group node:



My node:
Edited by misakacirno - 2023年4月18日 03:05:51

Attachments:
mynode.png (3.1 KB)
groupnode.png (2.9 KB)

User Avatar
Member
4138 posts
Joined: 2月 2012
Offline
Hi,

You can do it with this option:

Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix2k7 | animatrix2k7.gumroad.com
User Avatar
Member
23 posts
Joined: 10月 2021
Offline
animatrix_
Hi,

You can do it with this option:


Thanks for your reply, that's the method I'm using, but I want the selected item to have a tick mark to indicate it is selected like the Group node, is there any way to do that?
User Avatar
Member
118 posts
Joined: 12月 2013
Offline
You could use an import block to bring in the Group node and then set what you don't want to Invisible. https://www.sidefx.com/forum/topic/76409 [www.sidefx.com]

Glen
Edited by GlenD - 2023年4月18日 04:35:47
User Avatar
Member
4138 posts
Joined: 2月 2012
Offline
misakacirno
animatrix_
Hi,

You can do it with this option:


Thanks for your reply, that's the method I'm using, but I want the selected item to have a tick mark to indicate it is selected like the Group node, is there any way to do that?

From what I know the checkmark only shows for single selection options, not the multi selection ones. So try using Replace ( Field + Single Selection Menu) option.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix2k7 | animatrix2k7.gumroad.com
User Avatar
Member
23 posts
Joined: 10月 2021
Offline
GlenD
You could use an import block to bring in the Group node and then set what you don't want to Invisible. Your text to link here... [www.sidefx.com]

Glen
Thank you for your answer, but instead of referencing the Group node's parameter in my HDA panel, I want to create a String parameter and have a similar menu with the "√" symbol.
User Avatar
Member
23 posts
Joined: 10月 2021
Offline
animatrix_
misakacirno
animatrix_
Hi,

You can do it with this option:


Thanks for your reply, that's the method I'm using, but I want the selected item to have a tick mark to indicate it is selected like the Group node, is there any way to do that?

From what I know the checkmark only shows for single selection options, not the multi selection ones. So try using Replace ( Field + Single Selection Menu) option.

I tried it, and neither seemed to have the same effect.

Attachments:
Replace.png (62.0 KB)
Toggle.png (65.0 KB)

  • Quick Links