SublimeMaya (and similar plugins) sends commands to Maya via its "commandport" so I don't see why it would not keep the session any differently than running code from Maya's script editor would.
I'm pretty sure Maya doesn't make a distinction between commandport code vs script editor code as far as the evaluation environment is concerned. On Fri, Jun 5, 2015 at 4:14 AM Marcus Ottosson <[email protected]> wrote: > I'm not sure this answers the Panupat's question. > > The way I understood it, he wanted to know if there was an editor *except* > Maya's internal script editor that also keeps the session alive between > runs. And though I'm sure there are (there must be?) the only one I can > think of is either the Python interpreter itself, or IPython which is more > or less the same thing. > > The real benefit of the Maya Script Editor over either of those however is > that can run multiple lines at once, while at the same time also letting > you run any line independently, like Panupat said. I haven't seen any > editor do that, but now that I think of it, that would be very useful. > > The closest thing I can think of, speaking of Sublime, would be > SublimeREPL. > > - https://sublimerepl.readthedocs.org/en/latest/ > > On 5 June 2015 at 08:43, <[email protected]> wrote: > >> I really love SublimeText; been using it since I discovered it. >> >> As Joe said, you can send code to maya and it works just the way you want >> it to (you can high light parts of your code and execute only that) >> >> It communicates through sockets and what I've done is to open those >> whenever I start maya. So I can always just start maya & sublime and start >> coding without the need of configuring it again (or opening the ports >> again). >> >> Here are some useful thinks if you're interested. >> >> http://fredrik.averpil.com/post/55507118045 >> >> https://github.com/justinfx/MayaSublime >> >> https://github.com/srusskih/SublimeJEDI >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/90796ecf-b419-4b29-8fcb-d734482683b2%40googlegroups.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Marcus Ottosson* > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBs5_p-G0jkZCy5O0r3ye9s4MEFhfw10DPzTuBa8yuNCg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBs5_p-G0jkZCy5O0r3ye9s4MEFhfw10DPzTuBa8yuNCg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAN%3DPNLFmSgVmhx-wn4jj_c4wf77JtRuJutS6-d-E-wMiHFCTqw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
