wigi
02-22-2010, 03:35 AM
how to export a animation clip file from visor into MAYA ASCII with the python code
Here is the code I'm using but doesnt works..
import maya.cmds as cmds
cmds.select('clip1')
cmds.file('fileName.ma', type='mayaAscii', exportSelected=True, channels=True, constructionHistory=True)
the problem is fileName.ma is doesnt have animation value,or in the maya Ascii doest have "clipLibrary"
it's difference when i select the clip in visor and right click export to maya Ascii.. and the size of the file is difference too..
there is something wrong with my code?
thx
wigi
Here is the code I'm using but doesnt works..
import maya.cmds as cmds
cmds.select('clip1')
cmds.file('fileName.ma', type='mayaAscii', exportSelected=True, channels=True, constructionHistory=True)
the problem is fileName.ma is doesnt have animation value,or in the maya Ascii doest have "clipLibrary"
it's difference when i select the clip in visor and right click export to maya Ascii.. and the size of the file is difference too..
there is something wrong with my code?
thx
wigi
