Hello all,
I have a list of texts (in fact layers from every object got from Rhino) and I’d like to remove duplicate items to have a “clean” layer list.
How could I do it ?
Thank you in advance,
Hello all,
I have a list of texts (in fact layers from every object got from Rhino) and I’d like to remove duplicate items to have a “clean” layer list.
How could I do it ?
Thank you in advance,
Create set component
Thanks to all of you!
Since you’re using Python, you can even create a set in code.
my_list = [1,2,3,2]
my_set = set(my_list)
print(my_set)
This prints {1,2,3}
.