Skip to content

[EMSUSD-3031] maya-usd exported with arnold #4415

@wandth

Description

@wandth

Describe the bug
When I first used mayaUSDExport to export usd with arnold shader, the usd file he exported was not what I expected. How should I export usd correctly

usdFilePath = r"C:\Users\1049\Desktop\test\usd\test\c.usda"
cmds.select("group1")
cmds.mayaUSDExport(
    mergeTransformAndShape=True, 
    file=usdFilePath,
    selection=True,
    shadingMode='useRegistry',
    jobContext = ["Arnold"],
    exportMaterials=True,
    materialsScopeName='mtl'
)

that was my exported code

Image that was my scene Image

Specs (if applicable):

  • OS & version Windows 10
  • Maya version maya2025
  • Arnold MtoA 5.4.7.1
  • Maya-USD 0.32.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions