4
$\begingroup$

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.

$\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$ Commented 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$ Commented Oct 26, 2015 at 20:18

0

You must log in to answer this question.

Browse other questions tagged .