I understand blender needs to have a unique identifier for datablocks, but it's not like an "Object" were you can assign a different "Object Data" datablock. The node doesn't have access to other "Node Data" datablocks. How it can be useful for user to get access to this 'Name' field?

enter image description here User uses "Label" for naming nodes

  • $\begingroup$ Was my answer helpful or did I miss something? $\endgroup$ May 14 '15 at 18:46

The 'Name' field can be used to identify different nodes when accessing the nodes with python.

I might have 2 diffuse type nodes, 'Diffuse BSDF' and 'Diffuse BSDF.001' and be able to identify which node I want to change a property on, by it's name:

bpy.data.materials['Material'].node_tree.nodes['Diffuse BSDF'].use_custom_color

This would access the use_custom_color property on the node called "Diffuse BSDF".

I know which node I am accessing by looking at the 'Name' field in the node editor.

Because I am accessing the nodes by name, it might be useful for them to have more descriptive names to help me separate them from other nodes e.g. "diffuseMain", "diffuseOriginal' etc. I can use that name field to rename them to something more relevant and identifying.

  • 1
    $\begingroup$ Is there a way to shortcut the renaming of nodes? I really dislike having to use the sidepanel for that : ( $\endgroup$ Dec 9 '16 at 3:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.