Search - User list
Full Version: upper range of parameter controlled by expression?
Root » Houdini Indie and Apprentice » upper range of parameter controlled by expression?
ultraharmonizer
Is it possible to use expressions inside a parameter's interface?

For example, I would like to make the locked range of a parameter be dependent on an expression or variable. Whenever I try to type anything other than a number inside of the range controls, it flashes red. Is there a way around this?

Thanks in advance for your help!
graham
Unfortunately it's not possible. You could write a callback script that would restrict the value entered based on whatever, but you can't use an expression to control the UI range.

It should be possible to do some more complicated callbacks that constantly replace the actual parameter with a copy whose max value is set to your value whenever your driving expression type thing changes but that's more advanced.
ultraharmonizer
Thanks for clarifying that for me graham.
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