Autodesk / maya-usd

A common USD (Universal Scene Description) plugin for Autodesk Maya
759 stars 202 forks source link

[MAYA-112143] Ability to edit reference paths within a USD stage #1338

Open dgovil opened 3 years ago

dgovil commented 3 years ago

When using a USD stage with a reference to a given USD file, it would be great if there was a way to edit the reference file path and also to specify a specific prim to reference.

For example in this setup below, the Def1 prim references the Stratocaster USD. However I cannot change the file path after referencing (only able to clear or add a new one), nor can I specify an explicit prim within that file to reference. e.g. if i only wanted to reference in the guitar body, and not the stand, i could not.

image

Ideally it would be possible to change the reference paths and specify specific prim paths like in the mayaUsdProxy node's Attribute Editor.

wtelford commented 3 years ago

Thanks Dhruv, I like the way you think. Our initial reference authoring was our "basic" implementation. we have designs on how we would like to extend this to support more advanced composition arc authoring:

In the meantime, as you likely know, you can modify the reference using the USD python API.

dgovil commented 3 years ago

Thanks Will, it would definitely be welcome to have all of that :-) and yes, for the time being , we're just working with the stage directly via the API. This came up more in the context of someone who only had vanilla Maya, so I figured I'd file it accordingly.

wtelford commented 3 years ago

Hey @santosg87, Can you log this internally please?

wtelford commented 3 years ago

@santosg87 can you link this to MAYA-112143

JoshkVFX commented 2 years ago

Just ran into this issue myself, I've got an 'asset' USD file that sublayers in all my asset tasks, but when I reference it in at the in my maya scene it brings nothing in

If I was able to specify a specific prim I could workaround this issue, but for now I'll have to use Solaris

womanyoyoyo-adsk commented 2 years ago

Hi just an update on this issue. We are currently designing a Composition Arc Authoring UI. Capabilities will include:

If you have any feedback let me know. More to come.

Ziethriel commented 2 years ago

Is there a way to change referenced prim paths to relative? I can't seem to find a way to do it. If not, this would be helpful to add to the new Composition Arc Authoring UI.

womanyoyoyo-adsk commented 1 year ago

@Ziethriel Currently, there is no way to change a path of a referenced prim.

maya-usd-git-sync[bot] commented 10 months ago

Issue synced internally to EMSUSD-654