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

[MAYA-124250] Can't handle type 'vector<double, allocator<double> >' while exporting with frameSample

Open msercheli opened this issue 2 years ago • 3 comments

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]
)
  1. See error

Expected behavior No error.

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

Specs (if applicable):

  • CentOS 7.9
  • Compiler gcc 6.3.1
  • Maya 2022.3 or 2023.0
  • Maya USD commit SHA fd2d8e3fbbc5909d5314cbeabad7eb982c91d36f (tag 0.18.0)
  • Pixar USD commit SHA 7a5f8c4311fed3ef2271d5e4b51025fb0f513730 (tag 21.08)

Additional context Add any other context about the problem here.

msercheli avatar Jun 17 '22 13:06 msercheli

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

santosg87 avatar Jul 04 '22 17:07 santosg87

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

macevhicz avatar Nov 09 '23 18:11 macevhicz