Jump to content
Sign in to follow this  
nunoalex

Viewport capture through command line

Recommended Posts

Hi, I'm a bit of a newb learning houdini (ex-XSI vet) and I'm trying to create a script to do a viewport capture on a few machines to speed up the process but unfortunately I hit a roadblock when I try to run the process through hython

>>> desktop = hou.ui.curDesktop()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ui'

Basically I can't get the attribute "ui" needed to launch the viewport capture when running a hython session, but it works fine on a interactive session though.

Any ideias to overcome this obstacle? Is it a limitation on the hython session? Any tricks ?

Or alternatively is it possible to call an interactive session to do the viewport capture passing some arguments (needed for the script to split up the viewport capture on more than 1 machine)??

Cheers

Nuno

Edited by nunoalex

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
Sign in to follow this  

×