I am trying to enable backdrop in Blender using Python but it seems that it is not as straight-forward as I thought. I know how to enable Use Nodes via
bpy.context.scene.use_nodes = True
and just need to enable backdrop. The relevant Python documentation for backdrop Here is a bit unclear and I do not know exactly how I can enable backdropping through the NodeSpaceEditor class. Can someone explain how I can do that?
The hard way is to compile Blender from scratch and enable backdropping by modifying the source code as explained here but this is too much of work. I hope there is a way to do it using Blender’s Python API.