I’m trying to do some measures only on the pipes per level. I managed to “count” the horizontal pipes since they have a reference level, filter them and then give the lenght. My main problem is the vertical one. Since I can have a vertical pipe from ground to top floor, I wanted to know if it is possible to “cut them” inside dynamo so he can tell me the legth of that pipe between the height 0 (floor 0) and 3,5m (floor 1), and do that to every floor with different heights.

I would try a geometry intersection. You could get the bounding box geometry for each level (floor to floor) and intersect that with the centerline geometry of all your pipe and pipe fittings. That should group the curves by level. Then you just need to sum the lengths to get the total curve length (pipe length) per floor.

He drags out this process in all scripts. I have a few and all of them got stucked in “run started” even though I work with it almost in a daily base. I just uninstalled to install again, maybe this “old” solution may fixed it