Brown Lawrence

jalys

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Help needed on custom UI parameters logic. March 7, 2023, 6:08 p.m.

Hi All Artists and programers


I am struggling with UI Parameters. I anyone could give me few hints.
I use a multiparameter tab , with several parameters including 1 float, i would like to constraint the float parameter sum to 100.
If move the slider of this paramater, it should automaticaly reduces all the others.

the only thing i managed to do is to use the callback script from the float parameter to print parameter name and value :

print(kwargs);print(kwargs)

i would like to reach a a custom python script or class that would receive the slider change and update the ui.
In fact i am looking to add some complex logic to the UI, a bit more than the "hide when" "disable when" available in each parameter.

Something quite straightforward where i store all paramteres value and could define some logic inside update function..


Any help please ?
thanks everyone