ScriptSpot

Forum topic · General Scripting

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

By Felice · 2013-01-10

Description

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

Thnaks for this. It helps to

Felice · 2013-01-11

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

of course you can

Anubis · 2013-01-11

check my ML2ME script.