Jump to content
gemini

Pressing the File Node Reload Button in Python

Recommended Posts

Hi,

Can it be possible to Press the reload button by a python script?

I tried the pressBUtton metthod like.. ( x is the button )

hou.node('/obj/null1/x').pressButton()

But not succeded.

Thanks,

G

Share this post


Link to post
Share on other sites

You use method returning a Node object. Change it to one of this:

hou.parm('/obj/null1/x').pressButton() 
hou.node('/obj/null1').parm('x').pressButton() 

 

Edited by f1480187

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

×