I think that the guys like us(me, Bryan, monster) have to show to the beginners in maxscript several solutions(if there are several solutions) of one task, so they can learn something from each of the samples. Any of us also can learn something new. :)
Thanks for posting that example Monster! I didn't know you could store the results of a 'case of' expression into a variable. I've just used them to execute code in my scripts. And of course now that I go back and check the documentation for the case expression it clearly shows it being used that way in their example...
@miauu - awesome! thanks so much for helping me on writing this script, you know that my previous iteration of code somehow didn't work anymore, I no idea why -_-" but your edited version works very smooth! :) Hmmmm...about the array #{}, so you mean that max can only save 1 array? why does the vert_savedSelection array…
That's because the start up scripts are evaluated after macroscripts as described in the link Monster provided. You should put your start up scripts in a local folder on your computer and then add that path to the Customize > Configure System Paths > 3rd party tab dialog and restart max. Your start up script will then load…