Access all max Modifiers using Max Script

Hi there,

How to collect the list of all max modifiers using for loop and output it to a mulitilistbox?

Thank you


Anubis's picture

for better respond ask in the forum section

because only a few peoples read blog section ;-)

rollout test "test"
   local modsArray = #()
   MultiListBox mlb "MultiListBox" items:#()
   on test open do
      for obj in objects do
         for mods in obj.modifiers do
            append modsArray mods
      mlb.items = for m in modsArray collect
createDialog test

my recent MAXScripts RSS (archive here)