← All ideas
  • Published 9 Aug 2025

expose node in SpaceNodeEditorPath

If we have a tree that has the same node more then once (A and B are the same):

Screenshot 2025-08-06 at 19.35.51.png

Then depending on which one we enter, we get different results when inspecting with a Viewer Node. Which of course is correct goes different data goes threw the node.

E.g. when I enter the first Two_Times node (A) you can see two boxes with the Viewer Node:

Screenshot 2025-08-06 at 19.36.08.png

And when I enter the 2nd Two_Times node (B) you can see 3 boxes with the Viewer Node:

Screenshot 2025-08-06 at 19.36.58.png

So context is very important here.

According to the documentation of SpaceNodeEditorPath:

docs.blender.org/api/current/bpy.types.SpaceNodeEditorPath.html

append(node_tree, *, node=None)

    Append a node group tree to the path

    Parameters:

            node_tree (NodeTree) – Node Tree, Node tree to append to the node editor path

            node (Node, (optional)) – Node, Group node linking to this node tree

We can see a optional node can be added for what node linked to the current source tree. But it seems that there is no way in the blender API to retrieve if this optional node was used.

It would be great if we could access this.

100%

Development Status: Open

Upvote 1 Downvote 0
clankill3r
9 Aug 2025

0 Comments