Hi,
I am trying to build a dynamically rebuilding Custom Attribute UI in MAXScript, similar to how the standard Array modifier works.
More specifically, I want behavior like the Distribution rollout in Array: when the top dropdown changes, the whole visible set of controls below it changes immediately, the rollout height updates, and the rollouts below move accordingly — without leaving an empty vertical area, and without looking like a visibly nested subrollout.
I attached an example of the 3ds Max Array modifier UI showing the desired behavior.
In my own CA UI, the usual approaches do not seem to match that behavior:
hiding controls with .visible leaves layout/spacing problems
subRollout still creates a kind of fixed embedded area and does not feel like the whole rollout is rebuilt
separate rollouts become separate sections in the Modify panel, which is not what I want
So my question is:
Is there a way in pure MAXScript to make a Custom Attribute rollout rebuild itself in place like the standard Array modifier’s Distribution rollout?
Or is that behavior only possible through an internal / SDK-based UI mechanism that is not available to scripted rollouts?
Any pointers, examples, or documentation references would be very helpful.
Thanks.