Jonny Piazzi
Jonny Piazzi

Reputation: 3794

Save a material in a slot to a new material library

Using maxscript I want to know how to save a material in a slot to a material library.

I already know that I can get a slot material by:

myMaterial = meditMaterials[i]

Where i is the slot number.

Upvotes: 0

Views: 395

Answers (1)

Swordslayer
Swordslayer

Reputation: 2091

You can use append to add a material or a texture to a material library, e.g.:

append currentMaterialLibrary meditMaterials[activeMeditSlot]

Upvotes: 1

Related Questions