Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Very simple question: how can I find the location of a node in a node tree using the GUI? If it's impossible, how can I do it using Python?
If it makes any difference, I'm using Cycles.
In GUI you will find this info in Outliner in Datablocks view under:
BlendfileData > Materials > name_of_material > NodeTree > ShaderNodetree > Nodes > name_of_node > Location
You can also keyframe such value or even drive it.
AFAIK this isn't possible through the GUI, however it is possible with python:
bpy.data.materials['Material Name'].node_tree.nodes['Node Name'].location
Where location gives the X and location gives the Y.
Required, but never shown