I would appreciate some
I’ve used grasshopper for years, but this is the first time I have been stumped so hard, as I’d have to back-track a huge script to get things to work the way they should. Somewhere along the way in my script the Item Index managed to break and no matter what sort of information I feed into it, it will give a -1 value.
Before posting: Item Index always returns -1 - I’ve looked at the forum and found different answers, but they involve not using the node…
Problem is, I’ve used Item index a number of times till now, and it works. The output is still there, unless I try to create a new one and connect it to the same things - it will give only -1 values. (see screenshot)
Secondly, I can’t use member index. I’m comparing 2 lists of breps from which I need to isolate a number of them.
Question is, is there a way to scan the entire memory for these values? How does this sort of error even happen?
And if there would be a workaround - using python or C# - how would that look? Anyone got some advice?
The script itself is big, but if needed I can attach it, if someone wants to troubleshoot it.