So I have a single point and then a list of several points. I want to compare the first point to see if it matches any points in the list. If I run a simple ‘==’ function it runs true on all outcomes as it reads the fact they are all points not their XYZ location. I could extract individually the X, Y, and Z of the point and the points in the list and then run a compare on each. Problem is then how do I feed this information back in where X may be true in every case and then Y true in 2 cases and Z true in only case. I need a method that picks out the index where it reads true, true, true across each axis.
This got me thinking of ways of comparing the whole XYZ location at once. So I converted the numbers to string which allows me to compare the whole number across the numbers in the list. This works perfectly for what I need however I have come unstuck again. If I have a situation where im feeding in more than one point and want to cross check them all, if I convert to string it will obviously combine the all the numbers in the list into one. How can I run a compare on several points without having to call them out individually? The string remove is just removing the { } from the string. Maybe the initial way I started was a better method. Any ideas…?