I’ve not posted on here before and am new to Dynamo.
I have been trying to create viewports on a sheet set using an Excel spreadsheet and keep getting this error message -
*Warning: List.GetItemAtIndex operation failed. * Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Here’s an image of the problem -
Hi and welcome, I can see you have more than one problem in your graph, try to avoid null values coming from excel, you do not need the list.create node, and for the error you are getting, I guess the 2 lists must match in count, you have one with 18 items, and the other with 35 items…If you can post/ share your whole snapshot/ script, maybe we can help you more achieve what you are after.
I removed the list.create node and it is working now. I’m not sure why the nul values are coming into Dynamo as they are blank cells in Excel, but I think I know how to remove them.