I am writing an addon and I need to delete an image texture node from the active material. I know that the python for deleting the node from the editor is bpy.ops.node.delete()
, but I don't know how to make this work from the script. I might sound dumb asking this, but I am a beginner to writing addons.
Thanks in advance!