If statement in blender geometry node

If anyone didn’t know, you can use if statements in Blender geometry nodes.

“if string” node group

examples:

6 Likes

Good idea. Well done.

But… seems like over-kill to go string->instance->curve->Boolean… ?? :man_shrugging:

Surely more efficient to stay in String context:


Just String->Boolean.

Good luck.

6 Likes

That is nice, was’t even aware of replace string node. After your post fooled around a bit :slight_smile:


5 Likes

Thank you for making the node group more efficient .I didn’t know there was a node for string length.

2 Likes

and I wasn’t aware of the string length node :slightly_smiling_face:

2 Likes

???
image

6 Likes

Lol… looks like that’s been hiding in plain sight since version 3.1 :rofl:

Thanks for the reminder!

4 Likes

:upside_down_face: Where were all these nodes hiding?

1 Like

2 Likes

This could just be me but I found the strings part really confusing (if someone could explain why/how they’re used that would be great), and I made (what I hope is) a version without them.