Autodesk / Autodesk/maya-usd

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

Open
#2,424 3 comments 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
bug
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

**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 >'`
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=,
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):**
- 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.