Get the mark of beam in Rhino inside

Hello everyone,
I did a script to take the beam mark in revit but I got 2 problems. Firstly, I can’t filter the level of beams although I can use it for floor. Secondly, I didn’t find the function to get a beam mark. Would you help me.
Thanks.

Hi Ngoc,

The Beam doesn’t have a level to filter by. It’s a constraint parameter called Reference Level.