maya-usd
maya-usd copied to clipboard
[MAYA-112143] Ability to edit reference paths within a USD stage
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.

Ideally it would be possible to change the reference paths and specify specific prim paths like in the mayaUsdProxy node's Attribute Editor.
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:
- File path modification
- Prim specification
- Internal References
- As well as payload authoring and modification.
In the meantime, as you likely know, you can modify the reference using the USD python API.
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.
Hey @santosg87, Can you log this internally please?
@santosg87 can you link this to MAYA-112143
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
Hi just an update on this issue. We are currently designing a Composition Arc Authoring UI. Capabilities will include:
- View existing arcs that are authored on the selected composed prim with respect to the editTarget.
- Edit existing authored arcs. This includes the arc path, the target prim, and its list editing operation.
- Author new arcs and clear existing authored arcs.
- Author an arc that would act as a remove-as-override, author an explicit list of arcs.
- Refresh existing authored arcs.
If you have any feedback let me know. More to come.
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.
@Ziethriel Currently, there is no way to change a path of a referenced prim.