as far as I know there is no need to generate pi files to add
auto-compilation for pymel...

On Wed, Sep 23, 2009 at 6:01 PM, Andrew Gerard <[email protected]> wrote:

> Hi Sajeev, here's a thread discussing .pi files for WingIDE
>
>
> http://groups.google.com/group/python_inside_maya/browse_thread/thread/8f0923d15747aa8e/94bc47d5b405d14e?lnk=gst&q=.pi#94bc47d5b405d14e
>
> Basically, what Wing can't dynamically introspect in the editor, you can
> build .pi files for. There are some .pi files here for the API. Sorry I
> can't remember if I generated pi files for pymel or if it just worked (or
> maybe didn't). I've recently started using eclipse with PyDev again which
> works great with pymel.
>
> -Andrew
>
>
> On Wed, Sep 23, 2009 at 7:20 AM, Ozgur Yılmaz <[email protected]> wrote:
>
>> Yes my setup for WingIDE lets me have auto-completion in both maya.cmds
>> and pymel
>>
>> again sorry for not being able to give any further help, but as far as I
>> now it is all about environment paths thats all...
>>
>> cheers...
>>
>>
>> On Wed, Sep 23, 2009 at 2:50 AM, Sajeev Kandasamy <
>> [email protected]> wrote:
>>
>>> Hi Ozgur,
>>>
>>> auto completion works for me say for something like this...
>>>
>>> L = [1,2,3,4]
>>> L.
>>>
>>> Wing displays all the methods associated with lists.....
>>>
>>> but it doesn't work for Maya specific Python classes,methods ......
>>>
>>> import maya.cmds as mc
>>> mc.
>>>
>>> I now would like Wing to list Maya specific classes,methods....But no
>>> such luck...
>>>
>>> kind regards
>>>
>>> Sajeev
>>>
>>>
>>> On Wed, Sep 23, 2009 at 1:54 AM, Ozgur Yılmaz <[email protected]>wrote:
>>>
>>>> Yes the auto completion works fine for me, though sometimes it doesn't
>>>> list all the classes/methods/attributes but it is working fine again...
>>>>
>>>> Buy the way I've never tried using that under Windows, so I couldn't
>>>> help you with that, but the same settings for environment and inside Wing 
>>>> in
>>>> project settings should do the job...
>>>>
>>>> cheers...
>>>>
>>>>
>>>> On Tue, Sep 22, 2009 at 8:46 PM, Sajeev Kandasamy <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Ozgur,
>>>>>
>>>>> thank you for the reply.
>>>>>
>>>>> are you able to get auto complete and syntax highlighting to work for
>>>>> pymel inside Wing.
>>>>>
>>>>> My python executable is set to this...
>>>>>
>>>>> btw this is  on windows XP. 32bit
>>>>>
>>>>>
>>>>> D:\Autodesk\Maya2009\Python\lib\site-packages\pymel-0.9.2-py2.5.egg\pymel
>>>>>
>>>>> say if I code something like this
>>>>>
>>>>> def miLabShape(d):
>>>>>     sel = ls(sl=1)
>>>>>     for x in range(len(sel)):
>>>>>         shape = sel[x].getShape()
>>>>>         if not shape.hasAttr('miLabel'):
>>>>>             shape.addAttr('miLabel',at='long',dv=d)
>>>>>
>>>>> I'd like Wing to autocomplete ...let say getShape and syntax highlight
>>>>> it...whilst also showing info in source assist. Is this possible?
>>>>>
>>>>> Kind regards
>>>>>
>>>>> Sajeev
>>>>>
>>>>> On Tue, Sep 22, 2009 at 11:21 PM, Ozgur Yılmaz <[email protected]>wrote:
>>>>>
>>>>>> I'm working with Pymel in WingIDE under Linux 64-bit... My settings
>>>>>> are as follows:
>>>>>>
>>>>>> in WingIDE:
>>>>>>
>>>>>> in project properties:
>>>>>>
>>>>>> Python Executable = $(MAYA_LOCATION)/bin/mayapy
>>>>>> Python Path =
>>>>>> $(PYTHONDEV):$(PYTHONDEV)/pymel:$(PYTHONDEV)/oy-maya-scripts/oyTools:$(MAYA_LOCATION)/bin/
>>>>>>
>>>>>> and I've set these in the environment variables
>>>>>> MAYA_LOCATION="/usr/autodesk/maya"
>>>>>> PYTHONDEV="/home/ozgur/maya/scripts"
>>>>>> PYTHONPATH=":/home/ozgur/maya/scripts"
>>>>>>
>>>>>> where the pymel is placed under /home/ozgur/maya/scripts folder
>>>>>>
>>>>>> hope it helps...
>>>>>>
>>>>>> On Tue, Sep 22, 2009 at 7:25 PM, [email protected] <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> How can I get  Pymel working properly in Wing IDE with auto-complete
>>>>>>> and syntax highlighting.
>>>>>>>
>>>>>>> I've set mayapy as the python executable..and included the pymel
>>>>>>> directory in PYTHONPATH. But wing does not auto complete and the
>>>>>>> source assist doesn't work as expected...
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Sajeev
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> E.Ozgur Yilmaz
>>>>>> Senior Technical Director
>>>>>> www.ozgurfx.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> E.Ozgur Yilmaz
>>>> Senior Technical Director
>>>> www.ozgurfx.com
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> E.Ozgur Yilmaz
>> Senior Technical Director
>> www.ozgurfx.com
>>
>>
>>
>
> >
>


-- 
E.Ozgur Yilmaz
Senior Technical Director
www.ozgurfx.com

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to