Hey there.
This might be a stoopid question, but how can I print to the Log or Messages console from a script?
The regular print('Hello World') doesn't seem to work...
Cheers.
Eric.
Hey there.
This might be a stoopid question, but how can I print to the Log or Messages console from a script?
The regular print('Hello World') doesn't seem to work...
Cheers.
Eric.
Answering my own question here... :-)
The current workaround is to have a dedicated output on the script node, connected to a Log Node like so
Supplemented by a short function in the script which then serves as a 'debug print':
function dPrint(str)
outInfo = str
outPrint = true
end
Speaking of which, it would be cool if the Log Node could feature an 'Print On Change' option similar to e.g. the 'Set Pin' Nodes.
Meaning, it Logs automagically when the input changes, rather than logging periodically, as it happens now with the 'Auto Print'.