[wingide-users] Source analysis of maya.cmds package?
warpcat at gmail.com
Mon Jan 11 10:43:02 MST 2010
This is a question specific to the scripting language of the the DCC app
Maya. I'm trying to get Wing to do source analysis of it's
*maya.cmds*package. After finding these threads online, and working
through them, I
have been able to get its* maya.OpenMaya* package working successfully:
And have posted my results here (which includes some of my work on the topic
However, how Maya deals with it's maya.cmds package is very different than
its maya.OpenMaya package. It seems to generate it upon launch... there is
no physical package on disk to inspect. I've described what its' doing on
my blog here:
I've been able to generate a (seemingly) appropriate .pi file for the
maya.cmds package via this code (by having Maya's python executable running
import maya.cmds as mc
filepath = 'c:/temp/cmds.pi'
f = open(filepath, mode='w')
for k in sorted(mc.__dict__.keys()):
And I've put this .pi file in the same location as the OpenMaya ones. But
Wing currently isn't detecting it for source analysis.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wingide-users