Extrude curves if distance to surface is larger than

Hello Everybody,

I am new to Grasshopper.

I have a set of polylines (Building contours) and a surface (Terrain).
I only want to extrude the polylines wich are distant of more than 3 meters from the terrain.

Basically I would like to sort the list wich contains the set of curves with the True values from the Larger Than component.

I don’t know if I made myself clear… Here is a screenshot

Thank you for your help,

Connect your referenced curve parameter to “L” input of Dispatchcomponent, instead of Distance

Alright, I was close.
It works perfectly now.

Thanks a lot