[Closed] How to get names of all opened rollouts in 3ds max?
How to get names of all opened rollouts in 3ds max? For example, is a some opened rollout, but I do not know their internal names. I should learn their names and already by means of this name to take all parameters in controls it rollout.
I’m not sure I fully follow what you are tying to do, or if I do understand, if it is possible.
I’ve had a quick look around it I can’t find a way to dynamically list rollouts.
It might be possible from the utility panel and it is certainly possible from the subrollouts control though…
Shane
indeed – what is your goal?
getting a list of -all- rollouts is, as it is, impossible.
You can use:
apropos "*:rolloutclass"
To get a list of all rollouts that have been defined with a global scope, but that won’t get you rollouts…
- with a local scope
- in plugins
- in custom attributes
- presented in dialogs
You can ‘get’ some of the other rollouts by using the windows struct, but all you’ll get is a handle to the dialog/etc; while you need the actual rollout value.
Even when you do have a rollout value, though, you can get a list of its controls:
<rollout>.controls
But you won’t be able to get a list of any variable values local to the rollout.