MayaPad does just that. Its a wxPython Python editor that can send commands
to Maya. Maybe you can copy the way its done there

http://code.google.com/p/mayapad/


On Mon, Feb 1, 2010 at 9:05 AM, Shaun Friedberg <sh...@pyrokinesis.co.nz>wrote:

>  Right, perhaps I miss-spoke…
>
> I use Python to open a socket and then send Mel code.
>
> My question is does anyone know how to send Python code instead of Mel…
>
>
>
>
>
>
>
>
>
> *From:* python_inside_maya@googlegroups.com [mailto:
> python_inside_m...@googlegroups.com] *On Behalf Of *Judah Baron
> *Sent:* Monday, February 01, 2010 8:41 PM
> *To:* python_inside_maya@googlegroups.com
> *Subject:* Re: [Maya-Python] commandPort
>
>
>
> You could create your own socket, rather than using the command port. It's
> more complex, but it leaves you with a lot more options.
>
> On Sun, Jan 31, 2010 at 11:14 PM, Shaun Friedberg <sh...@pyrokinesis.co.nz>
> wrote:
>
> Hello,
> Currently when opening a command port to send code to Maya I am using
> socket
> and sending mel.
> Does anyone know of a way to use Python instead?
>
> Thanks.
>
>
>
> --
> 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

Reply via email to