Error getting unique points from a list

Hi
I want to get the list of unique points from a given list of points.

I have used List.UniqueItems node but it is still giving me some duplicates as shown in the snap.
I think there should be a workaround. Please let me know.

Hi @NIRMAL try prune duplicates

3 Likes

Point.PruneDuplicates is the correct method here, as the points are not actually the same object in memory, but are uniquely constructed/returned. Things like floating point errors, data conversion discrepancies, and the like all contribute to the ‘not the same but similar’ results.

3 Likes