Autodesk / maya-usd

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

[EMSUSD-161] Can't handle type 'vector<double, allocator<double> >' while exporting with frameSample #2424

Open msercheli opened 2 years ago

msercheli commented 2 years ago

Describe the bug While exporting Maya data to USD using mayaUSDExport Python command and passing frameSample input, at the end, after the USD stage is saved to disk, the command emit the following error: Error: Can't handle type 'vector<double, allocator<double> >' Without the frameSample argument, the error is gone.

Steps to reproduce Steps to reproduce the behavior:

  1. New Maya session
  2. Create a cube
  3. From Script Editor (Python), run:
    cmds.mayaUSDExport(
    selection=True,
    file=<path to a .usd file on disk>,
    frameRange=[1,5],
    frameSample=[-0.25, 0.0, 0.25]
    )
  4. See error

Expected behavior No error.

Attachments If applicable, add screenshots, sample files, etc to help explain your problem.

Specs (if applicable):

Additional context Add any other context about the problem here.

santosg87 commented 2 years ago

I am also able to reproduce this issue on our side. logged it internally as MAYA-124250

macevhicz commented 11 months ago

We are also experiencing this issue, when attempting to exporting with: ``frameSample = [0.0] frameStride =1.0``` which is basically the most common frame setting, correct?

Maya 2023.3 output to .usdc