So i’v been pounding my head agnst blender and python for the last few hours and while i’v been making great progress on my first script for blender, and infact my first time useing python, I’v come to a point where i could use some help.
My script generates objects and places them around a scene, for each object it generates it assigns a material that has already been made. this is where i could use some help. I’m thinking that useing Blender.Object.SetMaterials() like so…
am = Blender.Object.Get(name_)
this gives me an error.
“ValueError: Material list must be a list of valid materials!”
Any ideas on what i’m doing wrong? I’v defined (in the scene, not in python) TestMat as a material and have gone back to check the spelling… Thanks!