1
$\begingroup$

I'm trying to get the output from as join strings node with the following code but it's printing out nothing?

My Nodes

enter image description here

Code

import bpy

nodeTree = bpy.data.node_groups["Geometry Nodes"].nodes

stringOutput = nodeTree["Join Strings"].outputs[0]

print(stringOutput.default_value)
$\endgroup$
1
  • 6
    $\begingroup$ AFAIK you can't get evaluated outputs from nodes (strings, at least), but in this case you can parse the nodes that are linked to the input of the join strings node and read their default values $\endgroup$
    – Gorgious
    Commented Jun 25 at 17:49

1 Answer 1

1
$\begingroup$

Right now only way to take string from geometry nodes evaluation process is to read name of geometry attributes. Exactly, with length limit.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .