Jump to content
Sign in to follow this  
bobbybob

"control" ui elements via python

Recommended Posts

Hi


I am trying to enable/disable octane license inside Houdini, via python, but I can't find a way to "press a button" or paste text to the "username" and "password" input forms.

The Octane dialog is created with "Houdini’s User Interface Script Language" and is opened via the tool shelf.

Is this possible, via python?

Share this post


Link to post
Share on other sites
On 2/6/2021 at 7:36 AM, bobbybob said:

Is this possible, via python?

It depends, but in most cases you're out of luck. Check the shelf source. If the dialog was created with hou.ui.createDialog(..) then it means there's a source code somewhere and you can lookup the parameter name and set it with hou.Dialog.value(). But I doubt Ocatane devs chose this way it most likely implemented in HDK.

Your best bet would be to check if Octane provides some sort of Python API or maybe ask them directly.

  • Thanks 1

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  

×