Why does the equality node not detect the item in the list?

I’ve added the screenshots of the section of the script where I’m having trouble

Hello and welcome here ;)…not sure have checked for whitespaces ???

1 Like

I’m very new to Dynamo, I have prior Grasshopper experience which helps a bit but this is my first script ever that I’m doing. I found a fix myself, converted the data into string before comparing for equality. Thanks for your help!

On the other hand, the next problem that I’m currently unable to solve is how to get the index for the true value. Or simply, I just need to extract the index for “Sheet Name”. Seems like a simple task but I can’t figure out how to do it!

1 Like

Ohh yes when we compare with == it has to be the same objecttype…

Unable to make it work on my end :frowning:

try to set your list to @L2 as i do :wink:

1 Like

Okay, I’ll give that a go!
Thanks

1 Like