maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

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

Open dgovil opened this issue 4 years ago • 8 comments

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.

dgovil avatar Apr 14 '21 19:04 dgovil

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.

wtelford avatar Apr 14 '21 22:04 wtelford

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.

dgovil avatar Apr 15 '21 00:04 dgovil

Hey @santosg87, Can you log this internally please?

wtelford avatar May 03 '21 21:05 wtelford

@santosg87 can you link this to MAYA-112143

wtelford avatar Jul 26 '21 20:07 wtelford

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

JoshkVFX avatar Mar 23 '22 00:03 JoshkVFX

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.

womanyoyoyo-adsk avatar Mar 23 '22 01:03 womanyoyoyo-adsk

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 avatar Aug 19 '22 16:08 Ziethriel

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

womanyoyoyo-adsk avatar Jan 05 '23 19:01 womanyoyoyo-adsk