Adverti horiz upsell
Using Eclipse as a Maya IDE
Using Eclipse as a Maya IDE
rbublitz, updated 2014-05-11 01:55:25 UTC 286,361 views  Rating:
(15 ratings)
Page 2 of 4

 

C. Basic Autocompletion for PyMel

The documentation for Maya explains how to get PyMel working with Eclipse.   Use the "Predefined" option in Pydev preferences.  It requires a directory with files with a .pypredef extension.  However, using this method only allows for autocompletion of commands - there are no documentation hints available using these files.  Read the next section for an alternate option.

1. In Eclipse, go to "Windows/Preferences/Pydev/Interpreter - Python"

2. Click on the third tab called "Predefined"

3. Click on "New" and navigate to the pymel "pypredef" directory

4. Click "Apply"

You might have to "refresh" your project to enable the changes or at worst restart Eclipse.