Distance Between Two Walls/Curtain Walls

Hi. Fairly new to Dynamo and I’m trying to find the distance between two curtain walls in a Revit project.

The “Geometry.DistanceTo” node looked promising, but I cannot seem to pull geometry data from the curtain walls.

Any suggestions and help would be much appreciated

Could use the location curves of the wall (curtain wall).

Thank you John, that helped a lot!

I found that I also had to insert an extra step (nodes in pink group) to feed the ‘Element.GetLocation’ nodes with wall elements rather than type names:

Hi @Andy_Grout

Do the below changes.