Slice wall by intersecting another wall

Hi,

Is there any way to slice all walls that intercepetions another wall?

Example:

image

It would likely explode your CPU on a larger graph due to the amount of geometry manipulation, but you could try this:
Get the location of all walls,
Use raybounce to by the start point and inverse vector, and again for the endpoint and line vector, and project all points onto all lines.
Then use the new points to create lines and then move the walls to those lines with a set location node.

Again, expect this to fry your CPU on larger jobs, if it works.