Change the beams reference parameter

Hello, I read this previous discussion here, and it stated that beams cannot be created on a reference line.
I was able to create beams from a spread sheet on different levels. Than I tried to apply the Y justification that is written in the spread sheet. I used a Dictionary to change the reference as it was suggested in another post for Walls

Using the sn

oop function of LookUp I found informations that are conflicting

I am sorry but at the end it worked, the order of association between strings and integers was my mistake.