I have encountered this issue before with using Geometry nodes in python. In the past I just decided to use the nodes instead of python; however, with this instance it would be too many nodes. I have tried everything I can think of including flattening any inputs involved.
Any help is appreciated. Thank you
error:
code:
inputs:
Just remembered about List.Map so I will be able to do my solution with nodes; however, Iād still prefer to use python. If anyone knows a solution please let me know. Thanks!
Flattening will still return a list, so you can get the first item by indexing either before you use it as your input, or by indexing the input in your python script.
1 Like
next(iter(list))
you can that line of code above on your pt