How to Instance a Map from one slot to another............plz help

hy everyone. I want to know how to instnace a map from one slot to another slot. i just did copy it. it Works but when I try to Instance it.It gives error...... anyone plz help me......

Comments

Comment viewing options

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

hope this help

m = meditMaterials[1]
m.ambientMap = copy m.diffuseMap -- copy
m.ambientMap = m.diffuseMap -- instance

my recent MAXScripts RSS (archive here)

Comment viewing options

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