(sorry for cross posting as I didn't get any advice in Houdini forum)
the print command in my python script in a DA may print to Houdini console on one computer and to the Python Shell Panel on another computer...
Can we set where the python "print" may print to?
Thanks!
- Ji
[help] how to set where python "print" to?
Started by oat, May 29 2012 07:54 AM
2 replies to this topic
#1
Posted 29 May 2012 - 07:54 AM
#2
Posted 29 May 2012 - 10:08 AM
If you set this
variable in your
file that you can find in your $HOME directory, it will force Houdini to open floating window for output.
EDIT: Hm, it looks that it doesn't force it for Python.
HOUDINI_WINDOW_CONSOLE = 1
variable in your
houdini.env
file that you can find in your $HOME directory, it will force Houdini to open floating window for output.
EDIT: Hm, it looks that it doesn't force it for Python.
Edited by mantragora, 29 May 2012 - 10:18 AM.
#3
Posted 30 May 2012 - 05:04 AM
(seems my previous reply disappeared...)
Hi, mantragora, thanks a lot!
I found that the output of Print will be directed to the Houdini console if the Python panel is minimized ...
Hi, mantragora, thanks a lot!
I found that the output of Print will be directed to the Houdini console if the Python panel is minimized ...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










