Dynamically change Parameter Visibility?

Robrecht Vandemeulebroecke's icon

Hi,

Is it possible to change the Parameter Visibility attribute, say from "Automated and stored" to just "Stored", on the fly from within a device?

I want to offer two configurations of my device, and I already have a button to toggle the visibility of the two sets of controls using attrui. But the associated parameters of both configurations still show up in Live's automation menu, which could be confusing for the user. So I'd like the toggle to also set the Parameter Visibility of the hidden set of controls to just "Stored", but that attribute doesn't seem to be available to attrui. Is there another way to do it?

Thanks in advance!

schlam's icon

You can change on the fly almost all object's attribute.
...but for Visibility and Mapping attributes, even if you can see the changes in the inspector, changes are not effective and not effectively working. I needed to to dynamically change this settings without any success..
..If someone has a workaround..

Max Patch
Copy patch and select New From Clipboard in Max.


Robrecht Vandemeulebroecke's icon

Hey! Thanks for pointing me to the right attribute (_parameter_invisible)! It didn't come up in the list of available attributes for attrui, so I never would have known.

You're right, though, Live's automated parameter list doesn't show the changes until you save the device from the Max editor. Hope there's a workaround!

schlam's icon

Foe information, all the attributes in the inspector window can be available dynamically in a patch.
Select an object / open the inspector / select an attribute / at the bottom of the inspector click the "+", it will add this attribute in your patch

Robrecht Vandemeulebroecke's icon

Wow, I had no idea, thanks for that!!

OCH's icon

nice