jonathan.pgagne

jonathan.pgagne

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Preserve maya hierarchy May 9, 2023, 9:45 a.m.

Hello,

is there a way to preserve Maya hierachy upon "Baking Asset" from an houdiniEngine's Hda in maya?

All hierarchy is merged when using "Bake Asset" from houdini node.
Seems like I can use maya "Mesh -> separate" to separate mesh after baking, but I have no clue to associate baked meshes from the source ones. (used HDA's 'Split geos by group option')

I wished I could have set an attribute on original meshes in maya (ex; current path attribute) so I could have retrieved them in the baked geos (bake asset) and set meshes back to their original hierarchy/named upon baking.

Any workaround exists?

thanks
Jonathan

Python promote parameter July 3, 2017, 4:29 p.m.

Hi,

I am trying to mimic the Hda's ‘Promote Parameter’ behavior, using python.

I've been able to add hda's parameters, with default values, using:

oParmTemplate = hou.StringParmTemplate(…
oParmTemplate = hou.ButtonParmTemplate(…
oHdaDefefinition.setParmTemplateGroup(oParmTemplateGroup)

But I can't find how to add a ‘Linked channels’, in the channels section (Edit Operator Type Properties –> Parameter).

Is it possible to do so using python?

Thanks,
Jonathan

HDA dynamic manipulate parameters May 16, 2017, 4:13 p.m.

Oh… just found out…

I need to set it on hdaDefinition, and not on the hda itself.