Hi everyone,
I’d like to filter out duplicate lines from a list along with their counterparts. I’ve managed to extract one member of each pair, effectively eliminating the duplication. Now, I also want to remove the other member of the pair from the list of lines. To achieve this, I intend to find the indices of the duplicate lines in the original list based on the list of duplicates, but I’m getting ‘-1’ for everything. What could be the solution to this problem?
List.SetDifference also didn’t work. It didn’t take out any elements, but I can see both two are the same(start.p, end.p, vector, length).