I got some problems when I call Mel commands from Python . always I
got some return error

some examples :


import maya.mel as mm
doCreateCacheCommand="cacheDeform -ts -p \"c:/teste\" "
mm.eval(doCreateCacheCommand)


// Successfully wrote deform cache file for all objects //
# Error: Error occurred during execution of MEL script
# Traceback (most recent call last):
#   File "<maya console>", line 3, in <module>
# RuntimeError: Error occurred during execution of MEL script #

this plugin is wrote using c++ API e create "cacheDeform" mel command
when it is called using python  it works well  , but after  it ends
its functions I`ve got a RuntimeError

as you can see in :

// Successfully wrote deform cache file for all objects //

the plugin is working


when a call it usin only MEL I got no return error

cacheDeform -ts -p "c:/teste";
// Successfully wrote deform cache file for all objects //




I have another question . is it possible create python commands using
API  Mfn  instead mel commands ?

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to