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
>
> >
>

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

Reply via email to