I'm using the Blender to make all my works university (architecture), but in my job the people use Sketchup for modeling and V-Ray for rendering. I want use Blender, cause liked more then others, the problem is that to rendering with Cycles, I have to need import the Skp file, change all materials (or set), create lamps etc... How to make a Python script that replace the materials by one list in all objects on the scene?
For example:
Cube.001 have the material "OldMaterial.01" in one face, and "OldMaterial.02" in others.
Cube.002 have the material "OldMaterial.02" in one face, and "OldMaterial.03" in others.
And we have the list:
- For "OldMaterial.01", replace to "NewMaterial.01"
- For "OldMaterial.02", replace to "NewMaterial.02"
- For "OldMaterial.03", replace to "NewMaterial.03"
And the script replace all materials for the match in the list.
That will be increase so much the workflow Sketchup - Blender!
Thanks for now!