Take a look at findChannelForObject() in doImportCacheFile.mel. It has a
fairly common failure case when matching a channel name from the xml to a
mesh in the scene - if the mesh has "..Deformed" on it it can fail. You
could try match without the "Deformed" in those cases...
if ($foundMatch == -1) {
$obj = substituteAllString($obj, "Deformed", "");
$foundMatch = matchChannelWithoutPreString($channels, $obj, ":");
}
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/6a0ec00f-9c14-4212-95b1-01c01bed2486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.