ScriptSpot

Blog post

Access all max Modifiers using Max Script

By sumchans · 2010-11-11

Description

Hi there,

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

Thank you

Comments (1)

for better respond ask in the forum section

Anubis · 2010-12-18

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 m.name
   )
)
createDialog test