Duplicating Nodes(materials) from Material Library to MeditMaterilas(scene materials)

I was wondering for a way to access materials in a material library and then copy those to the scene materials portion of the material editor. This way I can call on those materials via script.

Currently if i callfileOpenMatLib() , A dialog opens up
so I can choose my material library. Then if i rungetMatLibFileName() It returns the recently opened material library as my current material library. >>>> From here I would like to know If I could copy the materials from the currentMaterialLibrary to the MeditMaterials library?

Comments

Comment viewing options

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

Thnaks for this. It helps to

Thanks for this. It helps to get a better understanding by debugging through your script.

Anubis's picture

of course you can

check my ML2ME script.

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.