I am trying to capture Level Names from rooms. When I use the Element.GetParameterValueByName node, I get an inconsistent list with some values as strings and others the full parameter containing Level, Elevation (see image 1).
Can someone explain why this is happening? Does this have something to do with potential overwritten parameters in the Revit model? Looking at the list of associated rooms, it is completely random which ones show up as string vs. full parameter.
An example of the output I am expecting can be found using Element.Level from the Clockwork package (see image 2) but I am trying to investigate multiple approaches.