I have the next composition that I render from Python. How can I disable/enable the rendering of a specific node?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
import bpy scene = bpy.context.scene compositing_node_tree = scene.node_tree compositing_node_tree.nodes['File Output'].mute = True
Alternatively you can just call the
bpy.ops.node.mute_toggle() operator within the compositor.