Find the z value of floor above

Hi,
what I am trying to get is this:

To generate a beam from the placement point of a room vertically and write the Z value of structural floors lower edge.

Is it possible to generate a vertical beam from a room and how is my question.

Best regards

Pretty sure it is possible.

What have you tried so far?

Already found what I was looking for:

Thanks for the input!