I almost have no clue regarding python and scripting, and I was wondering if there is a simple script to create two nodes in the shader editor.

Something like this:

uv map to image texture shader editor

UV map → Image texture

That's it. but every time I try to copy from the info window I get errors in the console, please help!

  • $\begingroup$ Node types in your case: ShaderNodeUVMap and ShaderNodeTexImage $\endgroup$
    – brockmann
    Commented May 7, 2020 at 11:03
  • $\begingroup$ @brockmann Hi, I understand that I need to use node types but as I said I am a complete noob and I just can't understand how to call the nodes and how to connect them. i have seen this post blender.stackexchange.com/questions/145882/… but still when i try to connect other nodes rather than the principled bsdf i get an error and unable to connect $\endgroup$
    – four two
    Commented May 7, 2020 at 13:28
  • $\begingroup$ you can where i got to at: ctxt.io/2/AABAG2QCFA $\endgroup$
    – four two
    Commented May 7, 2020 at 13:32
  • $\begingroup$ All pretty well explained in the dupe (no need for that other post). Take your time and try to understand it. To get the ball rolling: pastebin.com/VWMwGhmP $\endgroup$
    – brockmann
    Commented May 7, 2020 at 14:43
  • $\begingroup$ Okay, thanks you $\endgroup$
    – four two
    Commented May 7, 2020 at 14:52


Browse other questions tagged .