WingIDE with Maya Python February 11, 2009 Get link Facebook X Pinterest Email Other Apps I'm searching a way to have auto-completion in WingIDE for MayaPhytonAPI... Comments Unknown said… u found any solution uptil now.it worked, any ideas / tips?? Erkan Özgür Yılmaz said… On linux 64-bit yes... but I'm now using it under Windows...I've set the environment variables both in the system and inside WingIDE to:In System environment:PYTHONDEV="/home/ozgur/maya/scripts"PYTHONPATH=":/home/ozgur/maya/scripts:/home/ozgur/maya/scripts/oy-maya-scripts:/home/ozgur/maya/scripts/oy-maya-scripts/mayaHacks:/home/ozgur/maya/scripts/oy-maya-scripts/oyTools"MAYA_LOCATION="/usr/autodesk/maya"and in WingIDEs project settings:$(PYTHONDEV);$(PYTHONDEV)/pymel;$(PYTHONDEV)/oy-maya-scripts/oyTools;$(MAYA_LOCATION)/bin/;$(PYTHONDEV)/oy-maya-scripts/pluginsand my Maya.env file contains this lines:MAYA_PLUG_IN_PATH = /home/ozgur/maya/plugins:/home/ozgur/maya/scripts/oy-maya-scripts/pluginsMAYA_SCRIPT_PATH = /home/ozgur/maya/scripts:/home/ozgur/maya/scripts/oy-maya-scripts:/home/ozgur/maya/scripts/oy-maya-scripts/oyTools:/home/ozgur/maya/scripts/oy-maya-scripts/mayaHacks:/home/ozgur/maya/scripts/pymelPYTHONPATH = /home/ozgur/maya/scripts:/home/ozgur/maya/scripts/oy-maya-scripts:/home/ozgur/maya/scripts/oy-maya-scripts/oyTools:/home/ozgur/maya/scripts/oy-maya-scripts/mayaHacks:/home/ozgur/maya/scripts/pymelI think all of the three places (system environment, wing environment and maya environment) should be set correctly to get the code completion work Unknown said… thanks ozgur, i'll try that tomorrow in office and then let you know, hopefully it will work.one little confusion / doubt. right now i m assuming that "$(PYTHONDEV); works as is, i mean, should i use "$"?
Comments
it worked, any ideas / tips??
I've set the environment variables both in the system and inside WingIDE to:
In System environment:
PYTHONDEV="/home/ozgur/maya/scripts"
PYTHONPATH=":/home/ozgur/maya/scripts:/home/ozgur/maya/scripts/oy-maya-scripts:/home/ozgur/maya/scripts/oy-maya-scripts/mayaHacks:/home/ozgur/maya/scripts/oy-maya-scripts/oyTools"
MAYA_LOCATION="/usr/autodesk/maya"
and in WingIDEs project settings:
$(PYTHONDEV);$(PYTHONDEV)/pymel;$(PYTHONDEV)/oy-maya-scripts/oyTools;$(MAYA_LOCATION)/bin/;$(PYTHONDEV)/oy-maya-scripts/plugins
and my Maya.env file contains this lines:
MAYA_PLUG_IN_PATH = /home/ozgur/maya/plugins:/home/ozgur/maya/scripts/oy-maya-scripts/plugins
MAYA_SCRIPT_PATH = /home/ozgur/maya/scripts:/home/ozgur/maya/scripts/oy-maya-scripts:/home/ozgur/maya/scripts/oy-maya-scripts/oyTools:/home/ozgur/maya/scripts/oy-maya-scripts/mayaHacks:/home/ozgur/maya/scripts/pymel
PYTHONPATH = /home/ozgur/maya/scripts:/home/ozgur/maya/scripts/oy-maya-scripts:/home/ozgur/maya/scripts/oy-maya-scripts/oyTools:/home/ozgur/maya/scripts/oy-maya-scripts/mayaHacks:/home/ozgur/maya/scripts/pymel
I think all of the three places (system environment, wing environment and maya environment) should be set correctly to get the code completion work
one little confusion / doubt. right now i m assuming that "$(PYTHONDEV); works as is, i mean, should i use "$"?