Edit Primitive paths

   509   2   1
User Avatar
Member
2 posts
Joined: Dec. 2014
Offline
Hello,
I need to convert prims paths from a usda file.

I was looking at the "modify path" lop but couldn't make it work.
Any example of how I should settup the "Modify Path" Lop in order to achieve this, if possible?

basically, I need to "repath" something;
"|assetA|_proxy" --> "|assetB|new_location|proxy"

I was also looking at the python API, but couldn't achieve neighter. Any hints on doing this in python?

At the moment, I do a manual conversion editing the asda file within a text editor.
thanks
Jonathan

ex;

>>>> Source Usda
over "assetA" (

)
{
    over "_proxy"
    {

    }

}

>>>> Target USDA
over "assetB" (

)
{
    over "new_locationB"
    {
        over "_proxy"
        {

        }

    }
 }
User Avatar
Member
296 posts
Joined: Jan. 2013
Offline
Hi,
You can use Restructure Scene Graph to edit the structure of the primes in the graph.
User Avatar
Staff
4517 posts
Joined: July 2005
Offline
Or the Stage Manager if you want to do the restructuring in a way that isn't so procedural.
  • Quick Links