Get distance between object and surface

Hi, I need help calculating the distance between certain walls and floors to surfaces, but do not know how to do. I work on a big project and everything is so big that you can not do it manually. Can you help me with this?

Hi @sahar.ghorbaniUW5VB,

It depends a little bit of what types of geometry you are working with, but in general the first step is to get the AutoCAD geometry into Dynamo using the Object.Geometry node. Once you have the geometry, you can use the Geometry.DistanceTo or Geometry.ClosestPointTo nodes to get what you need.

Thank you,
yta
I have to be able to and count between the concrete floor and the surface underneath, wondering how to do?

I’m sorry, but it’s really difficult to understand what is going on in the image. Can you explain another way?

we have measurements from mountains. We want to calculate the distance between the rock and the concrete, for each point…

Test.dwg (744.7 KB)