Geometry.DistanceTo between solids dont work in Python

Hi everyone!!
I am trying to get the distance between two columns in Python with “Geometry.DistanceTo” but I have not succeeded.

I have noticed that the problem only occurs when I try to get the distance between two solids, this problem does not occur between two lines or points.

What am I doing wrong? How could you get the distance between the inside faces of the columns?

Ohhhhhh

I already solved the problem !!. My mistake was that it doesn’t apply Flatten to the list. Sorry for the inconvenience. Hope this problem helps other colleagues!

2 Likes