This example of MIndex finds points with the same X and Y values, differing only in Z, but you can easily adapt it to find duplicate Z values:
There can be precision issues that require rounding, as explained here:
This example of MIndex finds points with the same X and Y values, differing only in Z, but you can easily adapt it to find duplicate Z values:
There can be precision issues that require rounding, as explained here: