Rh-3d-p
(R-d)
June 8, 2020, 7:43am
1
Hello everyone
need help to this algorithm Compare file names and delete duplicate files in Grasshopper
i have x and y folder
i need to delete files in( x folder file) that names is duplicate
but my algorithm doesn’t work currently
my algorithm and folder in this zip file
delete dublicate file.zip (2.5 MB)
"a" = "b"
Is never true.
a = b
Might be true sometimes, depending on the respective values of a and b.
gankeyu
(Keyu Gan)
June 8, 2020, 9:04am
3
It’s a bit new seeing Grasshopper is used in file management.
1 Like
Rh-3d-p
(R-d)
June 8, 2020, 9:35am
4
Is there a way to compare 2 list of strings?
one by one
I guess you’re looking for memberIndex :
MemberIndex.gh (17.9 KB)
2 Likes
Rh-3d-p
(R-d)
June 9, 2020, 8:36am
7
@Mahdiyar thanks but if{count number(in memeberindex)>1.00} then dispatch work correct ?
If you supply a Number value where a Boolean value is required it will automatically get converted
0 = false
>0 or <0 = true