Attach jumbles Material IDs

I had looked around on google and in the maxscript help pretty thoroughly before resorting to making a thread here.

When I attach all of my objects together I lose all of my Material IDs.
I have tried both polyop.attach and meshop.attach and can't get them to stick.

However if I attach manually I can choose the "Do Not Modify Material or IDs" and it works fine but those setting seem to not exist in maxscript.

Anyone have any ideas?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

hmm...

read again in the help for meshop.attach

my recent MAXScripts RSS (archive here)

jeremiah_bigley's picture

Ah! I found a workaround. :D

Ah! I found a workaround. :D If you remove the materials from the objects, then attach, all your material ids stay intact!

barigazy's picture

with my tool not need to

with my tool not need to remove any material fro objests

barigazy

barigazy's picture

polyop.attach and

polyop.attach and meshop.attach works as expected
Are you try this tool
http://www.scriptspot.com/3ds-max/scripts/select-objects-by-bitmaptex

barigazy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.