Jump to content
easythrees

Running Houdini "headless" with a file and a script?

Recommended Posts

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"

 

Share this post


Link to post
Share on other sites

Sure. Link to help. Basically: 

hython script.py [optional params]

where script looks like:

import hou
hou.hipFile.load("myscene.hip")
...

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×