Hey guys I was wondering how you can change rollout UI items positions inside maxscript. So lets say i created a button and later on by pressing another button i want to set the position of the first button to another location
got another question, would it be possible to create a button from within your code something like this (but working) :p rollout rolTest "Test"( local p2PosTop = [10,10] local p2PosBottom = [10,40] button btButton_1 "Push Me!" width:60 height:30 pos:p2PosTop on btButton_1 pressed do ( button btButton_2 "I Got Created!"…
Unfortunately that's not possible. You must create every element with the rollout itself. The workaround to do something like that could be to create hidden buttons and unhide and position them whenever needed. There is a chance that something like that could be done with DotNet, but I cannot be of help on that matter. If…
Hi. This is kinda weird, but nonetheless, here it is: rollout rolTest "Test"( local p2PosTop = [10,10] local p2PosBottom = [10,40] button btButton_1 "Push Me!" width:60 height:30 pos:p2PosTop on btButton_1 pressed do ( if (btButton_1.pos == p2PosTop) then btButton_1.pos = p2PosBottom else if (btButton_1.pos == p2PosBottom)…