- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I think there may be a bug in Maya 2018 related to merging an imported FBX into an existing one and specifying a custom namespace.
Running the operation manually, using File->Import... works as expected.
However, if I copy the resulting file command from the script editor (see below) and run again, in a fresh target file, the operation does not work as expected. It's as though the target namespace is being ignored, but only when run from the script editor.
Here's the mel command that fails:
file -import -type "FBX" -ignoreVersion -ra true -mergeNamespacesOnClash true -namespace ":mocap" -options "v=0" -pr -importFrameRate true -importTimeRange "override" "C://TestFiles/mocapSource.fbx";
This is directly copied from the script editor after successfully merging an animated skeleton with bones in namespace "mocap" into a non-animated rig file which has the same hierarchy.
The problem is that when run from the script editor, the keyframes on matching bones are not copied as expected. Only if I first delete the namespace does it work. And yet, manually, it works great....weird.
Any ideas? Would really appreciate any help! Thank you!
-Len
Solved! Go to Solution.