Getting Reference Levels From Elements

Hi! I’m trying to get the parameter “Reference level” from some beams using Element.GetParametereValueByName or Element.level but both of them give me an empty list.

Any advice?


Solved this way.2015-02-10_1316

What are the elements that you are selecting in your Revit model?

Structural framing (Beams)

You sure you selected beams only? if you got something else in there like Beam System, then it will not work. For beams only it works just fine.


Thanks for the tip!