Blender can has many outputs in node editor. How to change active output node by python? I tried by using
node = mat.node_tree.nodes['Output.001']
mat.node_tree.nodes.active = node
node.select = True
This code won’t update the viewport or even render view, it will still use old output. I’m trying this in blender internal material nodes.
Do anyone know how to get around this?