Delete duplicated points in ghpython

Actually, I just realised I was a little quick with that one, and its not quite working as I intended.

Here is another go:

pnts = list(x)

for i in pnts:
    pnts.remove(i)
    for j in pnts:
        if i == j: x.remove(i); x.remove(j)

a = x

There is probably a more efficient way to do it.

1 Like