Kind Lau

Kind Lau

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Click arrow on the exposed Group pararmeter in a subnet/HDA gives error... Dec. 9, 2019, 12:20 a.m.

Hi,
I have the same issue,but now I solved it.

The original group nodes has the action button script is :
import soputils
kwargs['geometrytype'] = kwargs['node'].parmTuple('grouptype')
kwargs['inputindex'] = 0
soputils.selectGroupParm(kwargs)

If you want your hda has the same feature, you need to modified the script like this:
import soputils 
node = kwargs['node']
path = node.path() + "/split1" //the group node in your hda
split_node = hou.node(path) //the group node in your hda
kwargs['node'] = split_node //modifies the kwargs argments 'node'
kwargs['geometrytype'] = kwargs['node'].parmTuple('grouptype') 
kwargs['inputindex'] = 0 
soputils.selectGroupParm(kwargs)

I hope it's helpful