Attaching Walls to the floors above and below

Hi,

there is a function in Revit to attch a wall to the floor below and/or above it. Is there any node doing this in dynamo?

I have many walls each of with are between two floors. So my question is: is there anyway so that for each wall it can be detected which floor is above of it and below it respectively? And how could it be possible to extend the upper edge and lower edge of all walls to the floors above and below them respectively.

Thank you!

maybe this helps

thank you.

Hi Johannnes Meiners
Thank for helping about this node, but i worked, it not work like i want. Can you show more solve? Thanks
Best regards
Khoa.