I actually figured it out. Lol :P
Since I was overwriting XStream and redefining stdout I needed to reset
stdout to point to Maya's output, but where is that? Well, the hint was
staring me in the face, I just needed to find it; the answer was in
plogging.py (pymel's logging system). There's a func
ython\Lib\site-packages\maya\utils.py
>
> That should hopefully give you a starting point for how they're hooking
> into stdout/stderr and getting it to the script editor.
> I honestly can't remember what I had done to get it logging to both a file
> and not interruptin
On Thursday, August 14, 2008 at 3:05:34 PM UTC-4, ynedelin wrote:
> hey is there a way to have python print into the field right of the command
> line in Maya as it does if you print in mel?
>
> thanks
> Yury
Is there a way to re-direct print output back to the script editor without
closing Ma
I wrote a logging system that redefines XStream and directs stdout and
stderr to a Qt window so that I can also log output to a file (selectively).
This broke the Python print statement and the output of that will no longer
show up in Maya's script editor.
Is there a way to reset Maya's interna