PDA

View Full Version : problem about MultiMaterial .


88er
07-12-2006, 10:21 AM
:sad: I export a object use maxscript.
I want to delete some material in MultiMaterial.
sourcecode:
deleteitem mulmat.materiallist n

but it can't delete mulmat.materiallist[n] but delete the last one in multimaterial.
why??

and i have an other quesstion,why the box have so many materialID,hwo to deal with?

mobeen
07-14-2006, 05:06 AM
Are you sure that the multimat is a valid reference to a multimaterial? Try this it worked for me
assuming that the first material is a multimaterial and i want to delete the first multi-sub material.

deleteItem meditMaterials[1].materialList 1

See if this works.
Thanks
Mobeen

CGTalk Moderation
07-14-2006, 05:06 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.