easythrees Posted December 1, 2020 Share Posted December 1, 2020 Hi all, I have a script that can do some cooking and timing in Houdini. However, right now I can only run it in UI mode. Is it possible to run my script using the houdini command line? Something like: houdini -batch -file "somefile.hip" - script "somescript.py" Quote Link to comment Share on other sites More sharing options...
symek Posted December 1, 2020 Share Posted December 1, 2020 Sure. Link to help. Basically: hython script.py [optional params] where script looks like: import hou hou.hipFile.load("myscene.hip") ... Quote Link to comment Share on other sites More sharing options...
easythrees Posted December 1, 2020 Author Share Posted December 1, 2020 Okay, thank you, that worked! 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.