Menu

Code Complete with Maya Python API

vexare
2007-09-11
2013-03-15
  • vexare

    vexare - 2007-09-11

    Hello, so I'm new to Python and am trying to use pyDev for eclipse to write some python scripts and plugins using the Maya Python API. Everything seems to be set up fine, however I only have code completion for the built in python modules and modules with the .pyd extension (i.e. _OpenMaya.pyd) found in the Maya Python site-package. The modules I need to get at have the are in that same directory, but have the .pyc extension (i.e. OpenMaya.pyc)

    Any help or insight into what's going on would be appreciated.

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2007-09-11

      Have you tried setting it in the forced builtins: http://www.fabioz.com/pydev/manual_101_interpreter.html

      Cheers,

      Fabio

       
    • vexare

      vexare - 2007-09-11

      Ah OK, that did the trick. I added each module that used the .pyc extension to the Forced builtin libs and it's working great. Thanks!

       
      • orenouard

        orenouard - 2007-11-05

        Hi,

        Anything that can be done to make it work also with the Python cmds / script in Maya ?