Kind Lau

Kind Lau

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Click arrow on the exposed Group pararmeter in a subnet/HDA gives error... 2019年12月9日0:20

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