I rebuilt my Eclipse setup because it wan't executing Python to the Eclipse 
console, nor Qt commands.  I removed all the interpreter stuff and only 
added back the Python interpreter (not in the Maya folder).
At this point I have it working correctly with Python, and sending commands 
to Maya via the Maya Editor (from Creative Crash).
However, it shows my Maya import statements as errors because it isn't 
pointing to the Maya related stuff anymore.
I added C:\Program Files\Autodesk\Maya2013\Python\Lib\site-packages to the 
PyDev PYTHONPATH, which fixed the problem with the import statements, but 
then all the Maya commands are flagged as errors!
I've tried adding various Maya Python paths to PyDev and also added maya.cmds, 
maya.mel and maya.OpenMaya to forced built-ins, but none of that fixed the 
problem, so I removed all the Maya related stuff.
Does anyone know the correct things to add to the path and the built-ins so 
it will recognize the Maya-specific imports and commands?
Thanks.

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to