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$
  • $\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 Faceb Oct 19 '15 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 kumar Oct 26 '15 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.