Is there a python way to close/collapse all expanded parameters?

Is there a python way to close/collapse all expanded parameters? I mean those parameters that have been opened to access the parameter modes.

thx!

Not currently. Curious what you need it for.

Just for automatic parameter cleanup of a tox file before releasing it .

And more Importantly, is here maybe a (hidden) way to lock a parameter, so that it can’t be expanded and therefore it’s mode can’t be changed via the parameter COMP ?

Haha definitely not. Both of these are good RFEs though.

Looking forward to 30k. Thx !

Actually in 30k we’ve just added an option in Parameter Panel, to control parameter expansion.

Yeah, I was reading the WIP release notes a few days ago and remembered this topic