Script to copy materials
GRFK DSGN Unlimited
Posts: 1,118
in The Commons
Is there a script out there or something that could help me create one that copies the materials of one figure to the materials of another? The reason I ask is that I have a figure where I changed the UV mapping to be compatible with Genesis 8 Male. But I decided to keep the material names the same in the newly remapped figure. I guess I could change it the Genesis 8 male's naming system, but I would rather copy the materials in one swoop rather than do each channel. Just researching some options here.

Comments
Couldn't you just save what you have as a material preset and then load that to the new figure?
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/material/deep_copy/start
Hello Richard I was looking info on how use this script wen I notice I was log out and the adress was a bit diferent (https://forum.daz3d.com/forums/discussion/403836/script-to-copy-materials) Is this normal the way daz handle the log to the forums, I just wan to be sure, Sorry for taking your time with this.
Apart from the #latest at the end, which would take you to the first unread post if you were logged in, that link looks normal to me.
Map manager does not appear to have a copy/paste material option, but instead a copy/paste maps option. This is COMPLETELY different from copy/paste material. Also, Daz Studio does not have a copy/paste feature for materials. It has a feature with that name, but what it does is copy the values of a material and paste those values into any corresponding attributes of the material being pasted to. This is a COMPLETELY different thing from copy/paste a material as it doesn't change the type of material, remove material attributes or add material attributes when they are not the same.