[cgkit-commits] maya/maya_wrapper/maya/mel __init__.py,1.3,1.4
Brought to you by:
mbaas
From: Matthias B. <mb...@us...> - 2006-03-21 13:43:52
|
Update of /cvsroot/cgkit/maya/maya_wrapper/maya/mel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18033 Modified Files: __init__.py Log Message: Uses MGlobal.executeCommandPy now Index: __init__.py =================================================================== RCS file: /cvsroot/cgkit/maya/maya_wrapper/maya/mel/__init__.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** __init__.py 12 Jan 2006 10:37:02 -0000 1.3 --- __init__.py 21 Mar 2006 13:43:44 -0000 1.4 *************** *** 8,12 **** """ ! import maya, types # Debug flag --- 8,13 ---- """ ! import types ! from maya.api import MGlobal # Debug flag *************** *** 126,130 **** if _debug: print "***MEL command:",cmd ! return maya.executeCommand(cmd) --- 127,131 ---- if _debug: print "***MEL command:",cmd ! return MGlobal.executeCommandPy(cmd) *************** *** 137,141 **** # Get a list of all available MEL commands ! cmdlst = maya.executeCommand('help -list "*"') #print len(cmdlst), "commands" --- 138,142 ---- # Get a list of all available MEL commands ! cmdlst = MGlobal.executeCommandPy('help -list "*"') #print len(cmdlst), "commands" *************** *** 147,151 **** for cmd in cmdlst: # Get the help text for the current command ! help = maya.executeCommand('help %s'%cmd) keyargs, multiuse, doc = _parseHelp(help) --- 148,152 ---- for cmd in cmdlst: # Get the help text for the current command ! help = MGlobal.executeCommandPy('help %s'%cmd) keyargs, multiuse, doc = _parseHelp(help) |