breadbox Posted April 24, 2012 Share Posted April 24, 2012 I am learning python and have a basic understanding of python in maya and have been using eclipse as an ide to run code into maya. is there a way to set up something similar for houdini? so I can edit python in an external editor like eclipse or jEdit then run code externally? Quote Link to comment Share on other sites More sharing options...
notawhale Posted April 24, 2012 Share Posted April 24, 2012 Yes, you can. Do you need create environment variable EDITOR with link to IDE. After start Houdini on parameter go to Expression editor and push Ctrl+E. I am learning python and have a basic understanding of python in maya and have been using eclipse as an ide to run code into maya. is there a way to set up something similar for houdini? so I can edit python in an external editor like eclipse or jEdit then run code externally? Quote Link to comment Share on other sites More sharing options...
dulo Posted April 24, 2012 Share Posted April 24, 2012 Yes, you can. Do you need create environment variable EDITOR with link to IDE. After start Houdini on parameter go to Expression editor and push Ctrl+E. Is there a way to use the debugger for houdini python assets too ? Quote Link to comment Share on other sites More sharing options...
notawhale Posted April 24, 2012 Share Posted April 24, 2012 Is there a way to use the debugger for houdini python assets too ? About debugging I dont know. For debug I use print command. He write result in Python Shell on Houdini. In IDE you can use autocomplite. For this need in IDE add library from this directory $HFS/houdini/python2.6libs or $HFS/houdini/python2.5libs Quote Link to comment Share on other sites More sharing options...
rom Posted June 4, 2012 Share Posted June 4, 2012 (edited) I use Komodo as an IDE You can set up the environmental variables, and the python lib to enable code intelligence and execution of scripts outside of Houdini. With the Komodo Pro you can have full debugging features within the IDE. for debugging you may find logging to file usefull, and setup a terminal to tail the log file if you use print to the Houdini terminal for debugging, you will eventually want to go back and remove all the print commands, while using logging will keep things 'clean' as well as allowing for different levels of output( INFO,WARNINGS,ERRORS, etc) Edited June 4, 2012 by rom Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted June 4, 2012 Share Posted June 4, 2012 If you are on Windows, there is a extension for Visual Studio 2010 that adds support for standard Python - link. Intellisense, Code Refactoring, Interactive REPL, Debugging (i didn't tested it yet with Houdini). It's completely FREE and with source code, so you can play with it on your own. 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.