Pile Distance


I’m new to dynamo and as one of my first assignments i’m trying to develop a dynamo script that evaluates the distance of every concrete pile against very other pile and change the colour of the ones that distance is less than the 2.5 X diameter.

Can someone put me in right direction principally how to evaluate the distance of every column.

@fernandosalgado Please post screenshots / files showing your attempts.