Egg-Optchar Question

Just wanted to know if you could use egg-optchar to tag Materials or is it only used for tagging objects (although a material is an object, but I’m not going off in the technical stuff)?

I have an object that has several materials and was wondering if I could set a tag name to lets say, the first material then call it in my source code.

Something like:

egg-optchar -d outputDir -flag ObjBodyMat1=Material1 C:\Model\testFile.egg


self.testObject.find("**/Material1")

Probably not. I’m guessing you can’t export a Material only egg file with Blender.

No, but you can name all of your objects that use a particular material with a consistent naming pattern to make it easier to find them.

David