Skip to main content
1 of 3
mifth
  • 2.4k
  • 29
  • 37

Output Node with Python

Is it possible to create an Output Node with python? I tried to get how to do it.. but i'm in stuck.

Here is what i want to create: http://i.imgur.com/gEf9vDX.png

The code i started but i'm sure it's wrong: import bpy

bpy.context.area.type = 'NODE_EDITOR' bpy.ops.node.add_node(use_transform=False, type="CompositorNodeOutputFile")

Thanks you.

mifth
  • 2.4k
  • 29
  • 37