Hi,
I am a student and new to Revit/Dynamo.
I am working on an assignment to understand and decipher a ready script.
Encountered an error with the script and unable to resolve it.
Appreciate if anyone can advise on the below error. Thank you!

Hi,
I am a student and new to Revit/Dynamo.
I am working on an assignment to understand and decipher a ready script.
Encountered an error with the script and unable to resolve it.
Appreciate if anyone can advise on the below error. Thank you!

The error itself is pretty straight forward: a specified index must be a number.
It looks like you’re trying to create a dictionary but Dynamo isn’t recognizing it. What version of Dynamo are you on and what are your inputs?
Dictionaries changed in 2.0. I’m guessing that’s not a valid method anymore. There should be nodes you can use to replace the codeblock.