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

Reply via email to