Under Resources is the original tutorial, this is a shorter compact Version
Downloads
Programs:
Pydev:
In Eclipse install using Help > Install New Software add new Site.
Eclipse – Maya Plugin:
http://www.creativecrash.com/maya/downloads/applications/c/eclipse-maya-editor
Extract to any folder
Install via Help > Install New Software . Click on “Add” and then “Local” and navigate to the directory
Eclipse Configuration
Python Interpreter
- Under Window > Preferences – configure “Interpreter- Python”:
- Click on “New and select as Interpreter “C:\Program Files\Autodesk\Maya2013\bin\mayapy.exe”
- Include all folders
Autocomplete
- In the same window
- Open the tab called “Predefined”
- Click on “New” and navigate to C:\Program Files\Autodesk\Maya2013\devkit\other\pymel\extras\completion\pypredef (or whatever directory with the proper .pypredef files)
- Click “Apply”
Maya Confguration
In Maya, create a new shelf button with the following code
import maya.cmds as cmds
if cmds.commandPort(':7720', q=True) !=1:
cmds.commandPort(n=':7720', eo = False, nr = True)
Alternative in the folder:
Users\Username\Documents\maya\2013-x64\scripts
Create the a text file with the code userSetup.py
Conclusion
You can now use Eclipse and with Strg-Enter send the code to Maya
In addition by clicking the “Connect to Maya” button (strg + ]) you can see all consoleoutput directly in Eclipse.
Resources:
http://www.creativecrash.com/tutorials/using-eclipse-as-a-maya-ide