Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Print using Standard Output

Print using Standard Output

Anonymous
Not applicable
632 Views
1 Reply
Message 1 of 2

Print using Standard Output

Anonymous
Not applicable
 
 

With Python, I can write to the tiny, long window at the bottom right of the screen. (Command Response Window - it might be called that, who knows???)

 

 

 

import sys

def console_it(s):
  sys.stdout.write(s)
console_it("Hello world")

 

 

 

What's the equivalent just using MEL?  (for Maya LT fans)

The following just prints to the Script editor History Window - not what I'm after.

 

 

 

global proc console_it(string $s)
{
    print($s);
}

 

 

 

Any ideas?  

 

0 Likes
633 Views
1 Reply
Reply (1)