Search - User list
Full Version: hython/python : UI action/event
Root » Technical Discussion » hython/python : UI action/event
nicholas_yue
Hi,

I have a need to automate some button pressing action as part of an automated build/test for plugins/scripts that I am developing.

As a specific example, for a custom ROP node, I need to
(1) Fill in the camera field e.g. ‘/obj/cam1’
(2) Click the render button

How do I do that ?

Regards
rdg
something like:

rop = hou.node( ‘/out/mantra1’ )
rop.parm( ‘camera’ ).set( ‘/obj/cam1’ )
rop.render()
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB