What I have: I have a script that reads the data of an excel file, each row is a different parameter. Then, the data is written in Revit by matching each parameter (row index) with the equivalent parameter in Revit. This works perfectly.
Problem? Imagine that I want to set 300 parameters (300 rows), I have to define “element set parameter” nodes for each row? for the 300? (see the image e.g.) There must be an easier way for sure but I’m still a dynamo rookie.
I thought using a loop structure (something like “for 1 to 300” or “while ==”), so in each excel row(iteration) searches for the equivalent parameter name in Revit and if it is true (if ==), it sets the parameter for that position.
From what I haver searched, there are two ways to have loop structures: “loopwhile” or “list.map” nodes.
Can someone give me some guidance in this?