Hi
If I understand you correctly, you want to know if the MayaSublime plugin can send the text to the script editor instead of executing it?
Couldn't you just copy and paste for that?
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/70ad0acb-72a2-4196-82e8-29f9095f21e2%40googlegroups.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a454fe03-b41d-47c5-a287-8369fb9f1029%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1f73Km3ukOqrW%2B2jxVd0YmPgPBd%3D3xTKFUHsArZgS2rQ%40mail.gmail.com.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/27a29971-282b-460b-b474-a5abda2b221f%40googlegroups.com.
Oh right. Getting the return value and printing it to the Sublime console has been asked before. But there are two aspects of the script editor output. There is the return value for a function call, and also the output that Maya just prints to stdout.
Getting the stdout would be a different task altogether because it would require something on the Maya side to actually send the stdout stream over a socket to Sublime listening on the other end.
Getting the return value of a function that you call also requires that you have set your commandPort to use the flag that returns output and also has a high buffer value. Apparently if Maya tries to send back output larger than the defined buffer, it will error.
It might be possible for MayaSublime to poll to receive for a very short timeout and if nothing comes back then it just gives up. I just remember it being more trouble than it was worth. I could look into it again though.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/27a29971-282b-460b-b474-a5abda2b221f%40googlegroups.com.