Can u help me to fix that issue :( about List.IndexOf node

So I just learning Dynamo, and I want to make a tool about “Place views to sheets”. I have an issue like that when use “List.IndexOf” node, all result = -1. Pls help me fix that issue.
Thank you so much!

Can you show us the contents of the Element.Name node? My guess is the names don’t quite match, and probably have upper case letters or something like that.

yes, it is

None of those view names are the same. Most have the word TANG instead of lvl, and Dependent instead of part. They need to match exactly.

1 Like

Ohh it work :smiley: thank you so much!!!

1 Like

@tramlq If it worked for you. Mark @GavinCrump reply as solution.

1 Like

yes, marked. Thank you too :smiley: i’m a newbie

1 Like