Hi Miguel, works now ...thanks.... minus syntax highlighting .....same for you ??
Will give a shot at eclipse as well and choose. Still like Wing tho... 2010/1/8 Miguel González Viñé <[email protected]> > It works for me. I have pymel path in my Maya.env . mayapy.exe in > Project properties of Wing, and "completion" folder in "Source > Analysis/Advance/Interface File Path" of Wing. And that's all. > I need to write: > import pymel.core as pm > > to get auto-complete. If you don't assing the module to a namespace > you won't get it. If it doesn't work, I don't know what could happend. > Anyway I tried eclipse and looks like it works fine, but I didn't try > it enough. > > > > > > On Fri, Jan 8, 2010 at 11:16 AM, Sajeev Kandasamy > <[email protected]> wrote: > > Hi Miguel, > > > > If I omit pymel from sys.path..which is taking it out of PYTHONPATH > > nothing works...even when the prefs in Wing is set to the "completion" > > directory. > > > > Maybe I should give up and try eclipse-pymel combo. > > > > 2010/1/8 Miguel González Viñé <[email protected]> > >> > >> Hi Sajeev, > >> > >> try to remove pymel path from your sys.path, and leave the "pi folder" > >> in Wing's preferences. > >> > >> After a few tests, I realized that if you have set pymel folder into > >> the sys.path or wherever place where python can locate it, Wing will > >> try to make auto-complete checking the pymel source instead of the pi > >> files folder. So if you remove the pymel folder, you get auto-complete > >> but you cannot debug or test code in the Wing's python shell. > >> > >> I don't know if this is the best way to configure Wing but hope it > helps. > >> > >> miguel. > >> > >> > >> > >> On Fri, Jan 8, 2010 at 5:30 AM, [email protected] > >> <[email protected]> wrote: > >> > Hi, > >> > Installed pymel 1.0 manually. > >> > (~/PYMEL)... > >> > > >> > And generated the pi files for Wing.(Ian Jones post) > >> > > >> > I've setup autocompletion in Wing's preference folder to the directory > >> > containing the pi files. > >> > (~/extras/complete) > >> > > >> > But auto completion isn't working for me. > >> > > >> > import pymel.core as pm > >> > > >> > Wing auto completes pymel.core... > >> > > >> > pm.bin...does not auto complete...to binding.... > >> > > >> > If I analyze statistics in Wing I get > >> > > >> > Interpreter: > >> > > >> > /autodesk/maya2009-x64/bin/mayapy > >> > > >> > Effective Python Path: > >> > > >> > /home/raven0us/work/python > >> > /home/raven0us/PYMEL > >> > /autodesk/maya2009-x64/lib/python2.5zip > >> > /autodesk/maya2009-x64/lib/python2.5 > >> > /autodesk/maya2009-x64/lib/python2.5/plat-linux2 > >> > /autodesk/maya2009-x64/lib/python2.5/lib-tk > >> > /autodesk/maya2009-x64/lib/python2.5/lib-dynload > >> > /autodesk/maya2009-x64/lib/python2.5/site-packages > >> > > >> > need some help. > >> > > >> > Kind regards > >> > > >> > Sajeev > >> > >> -- > >> http://groups.google.com/group/python_inside_maya > > > > > > -- > > http://groups.google.com/group/python_inside_maya > > > > -- > http://groups.google.com/group/python_inside_maya >
-- http://groups.google.com/group/python_inside_maya
