Notifications
Clear all

[Closed] There is a way to dock the floater rollout after restar 3dsMax

I have a floater rollout, and use cui make it dockable, but after restart , It will back to default? How to deal with this?
my code is like this:

rollout dockIT "make it dockable"
(
    --code
)
myNewFloater = newRolloutFloater "aaa" 200 200
addrollout dockIT myNewFloater
cui.registerDialogBar
1 Reply

you need add dock code
cui.DockDialogBar <RolloutFloater_or_Rollout> <dockflag>
and you need know , if you dock it where already docked some bar , when you restart , your dock may be wrong .