magneto Posted November 28, 2011 Share Posted November 28, 2011 I have an issue in a SOP I am writing, I can fix it easily but I need to see the value of a variable. I used prints before and it used to bring up the Console I think, but now I don't see it. How can I open it so I can see my prints. Thanks. Quote Link to comment Share on other sites More sharing options...
edward Posted November 28, 2011 Share Posted November 28, 2011 Writing a SOP how? Python? HDK? Where are you starting Houdini from? I'm pretty sure it works if you use the Start Menu. The other issue could be that your SOP is not recooking. Quote Link to comment Share on other sites More sharing options...
magneto Posted November 28, 2011 Author Share Posted November 28, 2011 Writing a SOP how? Python? HDL? Where are you starting Houdini from? I'm pretty sure it works if you use the Start Menu. The other issue could be that your SOP is not recooking. Sorry it's python. I always use the start menu. Do you know how I can tell it's not recooking? Quote Link to comment Share on other sites More sharing options...
edward Posted November 28, 2011 Share Posted November 28, 2011 If it's a Python SOP, don't the print statements go to the last Python Shell window you have open? You can open up the Performance Monitor to see if your SOP is recooking. To force it to recook, click on its bypass flag twice (assuming that it is displayed). Quote Link to comment Share on other sites More sharing options...
3dbeing Posted November 28, 2011 Share Posted November 28, 2011 Sorry it's python. I always use the start menu. Do you know how I can tell it's not recooking? In Main Preferences=>Nework Editor... =>Node Tiles check highlight Currently Cooking Node Quote Link to comment Share on other sites More sharing options...
magneto Posted November 28, 2011 Author Share Posted November 28, 2011 If it's a Python SOP, don't the print statements go to the last Python Shell window you have open? You can open up the Performance Monitor to see if your SOP is recooking. To force it to recook, click on its bypass flag twice (assuming that it is displayed). Thanks, I have a python shell open, but how can I show intermediate values in my python SOP there? Also why do you recommend against using print in python SOPs? I only use it for debugging because I couldn't find any other way. I just checked yeah my SOP was cooking properly, but it's good to know this bypass twice trick. In Main Preferences=>Nework Editor... =>Node Tiles check highlight Currently Cooking Node Thanks man, should come in handy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.