Translate while intersect

Hello guys,

I have an intersection between a line and a solid and I want to translate the line, in z direction, until the line stop intersect the solid or the line make a tangent to the solid. Is it possible to multiple lines? Posting an example.

Thanks in advance




1 Like

Thank you Vikram, sorry for the delay in the answer.

That was exactly what I wanted, but I´m experiencing some issues with a more complex situation. In a case I have tested, it works until I connect and run the Loopwhile node, Dynamo don´t respond and I have to restart Revit and Dynamo. Have you experienced this before? My solution was to split the file in 2 files and it seems to work, but I have to look at it more carefully.


Hi, How do I view this. Link is broken