I've done this in the past both for Maya and Nuke.  I don't have any code 
handy.  But I can tell you the general approach.

Wing has a module you can import into maya and run, to generate a .pi file.  It 
takes a bit of hacking about to accomplish.  But once you accomplish it, you 
can put the .pi file in an appropriate place in your home directory and it 
allows wing to autocomplete most of the API.

The same can be done to get .pi files for the nuke API.

This is the usual jumping off point:

http://www.wingware.com/doc/edit/helping-wing-analyze-code

and the generator used to be called generate_pi.py

it was packaged in wingide's src/wingutils directory.

-brad

On Jan 8, 2013, at 2:22 PM, Boban Joksimoski <[email protected]> wrote:

> Hi,
> 
> i installed eclipse and wing IDE and I was trying to get autocomplete for 
> arguments in functions (e.g. when I type cmds.ls() i want the documentation 
> in wingide to show all the argiments in source assistant). I made the 
> autocomplete of functions and that works OK, but the arguments are always 
> *argv and **kargv.
> 
> I want to do this for python in Maya (i don't wana use PyMel)
> 
> Thanks in advance,
> Boban
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to