Wall Sweeps geometry center line and length

hello guys,
Can anyone tell me how i can get wall seeps center line with the help of dynamo or red line length ThaxUntitled