Prep Room Parameters going to Excel

How can find Room Name and Number from a list of Parameters and determine what index is so it can be moved to the front of the list?
In one Revit model, it is 33 and 34 and in another it is 37 and 39.

Element.Parameters is not reliable for this reason. Just use Element.GetParameterValueByName if you need the value or Parameter.ParameterByName if you need the actual parameter.

1 Like