How to replace one Texture with another Texture using code

by rkv104 » Sat May 28, 2016 1:33 pm

I wish to develop a plugin that will replace one texture with another texture in entire home model.

user will supply old texture name and new texture name. I wish to know how to create a HomeTexture if you know just the texture name as displayed in Available Texture List.