Gerardo Castellanos

Gerardo Castellanos

About Me

EXPERTISE
Generalist
INDUSTRY
Film/TV

Connect

LOCATION
Spain

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Primitive selection on HDA March 10, 2025, 9:20 a.m.

Oh... sorry, my mistake.. it works.. THANKS YOU A LOT!

Primitive selection on HDA March 10, 2025, 9:11 a.m.

Hi @raincole.. thanks

I tried this:

import soputils
kwargs['noderefparm'] = kwargs['node'].node("ObjectMerge").parm('objpath1')
kwargs['geometrytype'] = hou.geometryType.Primitives
kwargs['inputindex'] = 0
soputils.selectGroupParm(kwargs)

node("ObjectMerge")is my ObjectMerge Node.

but it does not work

Primitive selection on HDA March 10, 2025, 7:43 a.m.

Hi!

I am creating an HDA with 0 input, it reads/works for another geometry from a merge_object node inside of this HDA.
and I would like to select some primitives with a string parameter with an "Action Button":

import soputils
kwargs['geometrytype'] = hou.geometryType.Primitives
kwargs['inputindex'] = 0
soputils.selectGroupParm(kwargs)

but it fails because it is asking for an input.

there is another way to select the primitives? for a geometry that does not come from an input.