Jump to content

Get Parameter being manipulated in Python

Recommended Posts

Hi all,

I'm writing a little python script to change some geometry values and it's working only if I declare the parameter name.


But since I've about 20 custom parameters (could be more), to be passed to a function,  the current parameter should be returned as soon as I change it's value, either by sliding the slider or roll the mouse button over it's text field.

If there is anything like this it would be great:

hou.node("../subnet1/").parm( #CURRENTLY_MANIPULATED_PARAMETER# )


I tried the following code at the very top of the script, but it returned None once.



Is there away to get which parameter is being manipulated?

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