When I run helloWorld in MEL I get no output (should get "Hello World" based on the helloWorldCmd.cpp) and no error either.

Same result (neither output, nor error) If I go with
from maya.cmds import *
helloWorld() in Python.

Any ideas?
thanks!

earlyworm

05-27-2012, 02:30 PM

I believe the helloWorld example used in the devkit Maya outputs to standard output rather than the script editor history. In Windows standard output would be the Output Window and in Linux this would be the shell from where you launched Maya, I'm not sure where you'd look for this Mac.

nyiotis

05-27-2012, 03:05 PM

I believe the helloWorld example used in the devkit Maya outputs to standard output rather than the script editor history. In Windows standard output would be the Output Window and in Linux this would be the shell from where you launched Maya, I'm not sure where you'd look for this Mac.

sure. the standard output is the one at the bottom and the right hand side of the Maya window (at the bottom and the left hand side of the Maya window is the script editor, I cannot attach the image). the standard output is empty though..