4 low
09-05-2007, 06:42 PM
Search is timing out on me right now. If I'm in a situation where I have several pieces of geometry with various materials applied, and I want those exact same materials applied to a copy of my geometry with the same names, is there a script that can do this automatically?
For example, if I have Box_01 through Box_10, each with their own individual materials, if I have a copy of Box_01 through Box_10--with all geometry keeping the same name--is there an easy way to get the materials copied from one set of geometry to the un-materialed set of geometry, aside from assigning everything individually?
I am a novice when it comes to scripting. I do not expect anyone to write the script for me, but moreso give a point in the right direction to either finding one that is already available, or getting started in writing one that will work. I've been searching online for additional help, while waiting for replies.
This will hopefully serve as atemporary work-around to a bigger problem that stems from taking a model from max, exporting as .obj, bringing into maya for animation, then exporting back out as an .obj with point cache information, which lost the material information from the original max model.
Any help is definitely appreciated. Thanks.
For example, if I have Box_01 through Box_10, each with their own individual materials, if I have a copy of Box_01 through Box_10--with all geometry keeping the same name--is there an easy way to get the materials copied from one set of geometry to the un-materialed set of geometry, aside from assigning everything individually?
I am a novice when it comes to scripting. I do not expect anyone to write the script for me, but moreso give a point in the right direction to either finding one that is already available, or getting started in writing one that will work. I've been searching online for additional help, while waiting for replies.
This will hopefully serve as atemporary work-around to a bigger problem that stems from taking a model from max, exporting as .obj, bringing into maya for animation, then exporting back out as an .obj with point cache information, which lost the material information from the original max model.
Any help is definitely appreciated. Thanks.
