List.CountOccurences - doesn't recognize same point

I’ve ran this before in testing and it has worked. I’m using this node along with IndexOf and GetItemAtIndex to find the shared point of two lines that correspond to the endpoint of a new leader. Why is it not counting these as the same. You can see from the node below that the x and y are equal.

I’m sure I could get it to find the shared point another way, I’m just confused as to why it is missing this instance.

Hi @crapai ,

It probably has something to do with how Dynamo calculates this in the background, perhaps a “StringFromObject” node could help find the unique occurences correctly.

3 Likes

That Might work. I already replaced it withan equal node set to cross product and then a bunch of nodes to make sense of that outcome.