Accessing Unity information from string attribute

   1038   0   0
User Avatar
Member
35 posts
Joined: Feb. 2017
Offline
Does someone can explain to me how to use
unity_input_mesh_name
Inside my hda, I'm using an Operator Path to ‘load’ a mesh from Unity.
With the new sync Houdini feature, I can see my mesh from Unity and show the primitive attribute name inside Houdini.

Inside the hda, right after the object merge I have an att. wrangle on prim
s@unity_input_mesh_name;
I guess Houdini fill it when I'm on Unity, if it's the correct way to use it.
I need to find a way to access the content of this string value-filled when Unity is loaded from a python script.
The goal is to use this value as name for my exported json file.

I guess to be able to target on python directly the att. wrangle node, but how to access the string value ‘inside’ ?

thanks for your help.
  • Quick Links