Home Technical Talk

C4D Material Transfer

MDuncan3D
polycounter lvl 6
Offline / Send Message
MDuncan3D polycounter lvl 6
Hello all,

I'm very new to C4D and looking to do what I would normally consider a pretty easy operation. I want to transfer material assignments from one C4D file to another based on object names. I don't mind scripting it out if necessary, but I'm also not a huge python coder. So something like this:

File #1:
Mesh named "body_25" is assigned to a material named "plastic".

File #2:
Has a mesh named "body_25" that does not have any assigned materials. Also has a material named "plastic" present in the file. 

Dream script/operation:

First runs through the materials in file #1 and saves the assignments in a txt document. 
Reads the txt document in file #2 and applies the materials to meshes accordingly. 

There could also be an easier way of doing this than through scripting. As I said, i'm fairly new to C4D. 

Any help is appreciated! 

Replies

Sign In or Register to comment.