Does it not work at all, or is it only partially working? If it is not
working at all, and it has worked before, you may just need to let Eclipse
run through your libraries again (just press the Apply button in Preferences
-> PyDev -> Interpreter - Python -> Libraries and wait for it to run through
everything). It's something I've had happen to me on occasion and I've
managed to fix it that way. If it's only partially working (the way maya.mel
is) then I'd be curious to know what you're seeing, as it's something I've
never seen before.

On Wed, Apr 21, 2010 at 1:48 PM, Judah Baron <[email protected]> wrote:

> I have a similar problem, but it's with the cmds module. The API
> completion works, but not cmds.
>
>
> On Fri, Apr 16, 2010 at 9:43 AM, Adam Mechtley <[email protected]>
> wrote:
> > I've been having a problem with the maya.mel module in Eclipse and am
> hoping
> > someone here may have an idea. Specifcally, all of my autocompletion is
> > properly set up and works with the cmds and API modules. However, the
> > maya.mel module only offers autocompletion for:
> >
> > __file__
> > __name__
> > __path__
> > createMelWrapper()
> > melUtils
> >
> > The important problem is that it does not offer completion for the eval()
> > command. Consequently, every invocation of maya.mel.eval() is marked as
> an
> > error in my Eclipse project. I think this may be related to how Eclipse
> > works with mayapy, but I am straying dangerously far outside my
> expertise,
> > so am hoping someone here can explain what is going on. Specifically:
> >
> > In Maya:
> > import maya.mel
> > dir(maya.mel) # you will see the eval() function
> >
> > In mayapy console:
> > import maya.mel
> > dir(maya.mel)#  you will see the same thing Eclipse sees (namely, no
> eval()
> > function)
> > import maya.standalone
> > maya.standalone.initialize()
> > dir(maya.mel)# you will now see the eval() function
> >
> > --
> > http://groups.google.com/group/python_inside_maya
>
> --
> http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to