It's a lovely design to use 'mel.ooxx(...)' to invoke mel function as
'ooxx ...' but we encountered one special case as Pixar's mtor
function. In mel, mtor's function works like these:
mtor control getvalue -sync;
mtor control getvalue -rg dspyName;
mtor control setvalue -rg "dspyQuantizeOne" -value $ooxx;
...
We could not directly make it work through pymel as following:
mel.mtor("control getvalue -sync")
Therefore, I did my own dirty hack on Mel class to make the above code
snippet work. I am wondering what is the suggested way to invoke some
mel functions like 'mtor'?
-- Drake
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---