Message 1 of 6
object merge by material
Not applicable
05-19-2011
02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
i got 21000 objects in my scene and there are 1500 scenematerials.
i want to attach all objects with the same material applied.
in the end there should be 1500 objects.
i think it is not possible to do it manually for this quantity of objects (pick material - select objects by material - attach ...)
i think there should be a better maxscript solution ... i am really new to maxscript, so any help would be appreciated.
one way could be. replace objectname with materialname (they are unique) >> check if objectname is assigned multiple times >> if so >> select objects by this name >> attach >> if not it is already processed ... end of loop
thank you
regards sebastian
i got 21000 objects in my scene and there are 1500 scenematerials.
i want to attach all objects with the same material applied.
in the end there should be 1500 objects.
i think it is not possible to do it manually for this quantity of objects (pick material - select objects by material - attach ...)
i think there should be a better maxscript solution ... i am really new to maxscript, so any help would be appreciated.
one way could be. replace objectname with materialname (they are unique) >> check if objectname is assigned multiple times >> if so >> select objects by this name >> attach >> if not it is already processed ... end of loop
thank you
regards sebastian