Matteo Migliorini

MatEvil

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

My Tutorials

obj-image Beginner
Rocks Volume 1
obj-image Quickstart
VFX’n’GO Workshop
obj-image Quick Tips
Bullet DOPs to Cloth with Soft Constraint
obj-image Quick Tips
Change Normal with a Reference Geometry
obj-image Beginner
VFX’n’GO Workshop

Recent Forum Posts

how to promote the selection by group in Digital Asset? Jan. 30, 2022, 2:25 p.m.

I did a variable for path and works

Thanks Tomas for your help

 
import soputils
path = kwargs['node'].path()+'/goal'
kwargs['node'] = hou.node(path)
kwargs['geometrytype'] = hou.geometryType.Points
kwargs['inputindex'] = 0
soputils.selectGroupParm(kwargs)


how to promote the selection by group in Digital Asset? Jan. 28, 2022, 6:23 p.m.

mh... i try to applied the same scripts to the group, but moved to OBJ level, I should change the soputils to another contex?

how to promote the selection by group in Digital Asset? Jan. 28, 2022, 5:08 p.m.

tamte
your action button script needs 'grouptype' and 'ordered' parms to be promoted from group to your HDA since it is using them to know what type of selection you want

if however you just want unordered point group as your current group sop suggests just change the action button script to this and you dont have to promote those parms:
import soputils
kwargs['geometrytype'] = hou.geometryType.Points
kwargs['inputindex'] = 0
soputils.selectGroupParm(kwargs)


thank you now I try to apply to another complex hda.

Matteo