I have two cycles materials (say source and target). I want to copy the Shader Nodetree from the source material to the target material after clearing any currently present node tree(s) in the target material all in python.
$\begingroup$
$\endgroup$
2
-
$\begingroup$ Another way is to copy the object itself to another file. And apply the material that is copied together with that object to the other object :) $\endgroup$– Faceb FacebCommented Oct 19, 2015 at 17:05
-
$\begingroup$ Yeah that seems a lot of work. So I just scripted the whole node setup and used it whenever I needed it. Thanks for the help. $\endgroup$– Varun kumarCommented Oct 26, 2015 at 20:18
Add a comment
|