Adverti horiz upsell

Eclipse Autocompletion for Maya Python API 4.0.1

Enable Autocompletion for Maya Python API

License
Button download
3,228 Downloads

Compatibility

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:12/27/2008
Last Modified:04/16/2013
File Size: 1.71 MB

Bugs

Maya 2012 - Incorrect pypredef namespace?

Statusclosed
Priorityhigh
Date01/03/2012
Submitted byma3stro ma3stro
I'm not sure about the other versions of Maya, but Maya 2012 uses the maya.OpenMaya namespace. In order to get this to work correctly, I had to rename all of the pypredef files in this zip file with a "maya." prefix. Otherwise, the documentation was not showing up with the autocomplete suggestions.

Comments on this bug:

  • rbublitz

    rbublitz said almost 13 years ago:

    Regarding the import paths. I did find there can be slightly different behaviour with the pypredef paths. The .zip file has a maya/ directory with the OpenMaya*.py libraries inside - this matches the actual Maya library path structure. This is what works for me on Windows. However, if you are on Linux or if it's not working for you on a Windows machine, then you can rename the stub files to include "maya." in front of each library. pypredef then recognizes this when you import maya.OpenMaya* in Eclipse.

Post a comment: