ScriptSpot

Forum topic · General Scripting

Attach jumbles Material IDs

By jeremiah_bigley · 2012-12-17

Description

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 (4)

hmm...

Anubis · 2012-12-18

read again in the help for meshop.attach

jeremiah_bigley · 2012-12-17

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

barigazy · 2012-12-17

with my tool not need to remove any material fro objests