Modify naming convention used by the layout lop.

   923   1   0
User Avatar
Member
22 posts
Joined: Dec. 2016
Offline
Hello,

When using the layout lop, with the Instanced References mode.\
Is there a way i can change the naming convention used when the asset's prim path is set?

Right now when its added , they are 2_0 , 3_0 , if i wanted to change them to padd 4 to become _0002 , _0003, is this something i can edit in the Layout lop, or should i be editing all the names after the Layout lop?

Thanks
Kym
User Avatar
Member
22 posts
Joined: Dec. 2016
Offline
In case anyone else find this post.
I found a workflow im happy with ...

If i unlock the hda, find the POINTS node that lives at: /sopnet1/POINTS .
I then can add a attribwrangle or python script above the POINTS node , the path point attrib is what controls this.

I can any amount of prims in this attrib and they will be added to the primpath in the SGT & usd stage saved from the scene.

Ideally then im going to save this as a studio HDA.


Hope this helps someone else.

Kym
  • Quick Links