Assistance Needed for Distance Measurement in Dynamo

I have a DTM, which is shaped like a wall in the global coordinate system. This wall is under construction, and i need to target many points on it weekly. Then, i must import this data and examine where the deviations lie. I’ve uploaded a sketch here; the wall is indicated in red, and the green represents the point measured with the total station. The horizontal grey line is the distance I need to determine.

I imported my points through Dynamo, and they are corrected. Now, I need to measure the distance, but I have no idea how to proceed. I would be very grateful if someone could assist me with this. Thank you so much.

What is “DTM”? What is “total station”? I think we have a misunderstanding here. You wrote that “Red line represents a wall”. That doesn’t make sense. You have a point cloud that represents a wall, and the red line represents a perfectly straight, and desired geometry. Just extrude the line:

Hello Andrej,

Sorry for the earlier confusion. The wall is represented as a DTM. So, I have two elements: the surface of the wall as a DTM, and a set of points. and I have to keep it unfortunately as DTM. Thank you

What is “DTM”?

Digital Terrain Model

So then, the points are on a straight line while the surface is not straight? Its a similar solution…


this is how it looks like and it called tin surface in Civil 3d
The wall is curved and long, and the measurement points were taken randomly.

The screenshot represents the desired state, and what is being measured is the actual state. I need to identify where the deviations occur, which is why determining this perpendicular distance is essential. I used to do this with cross-sections, but over time I realized that it was too much work, so I started considering Dynamo and began working with it.
I’m not a Dynamo expert, but I really appreciate what you’ve posted here. Unfortunately, I can’t find these functions. Are they also available for Civil 3D?

The node that would give you perpendicular distance from the surface is Geometry.DistanceTo

Can you find that one? Other nodes will differ in your case.

I don’t want to annoy you for long, but importing the points worked perfectly. I only have an issue with the TIN surface. Here’s a quick screenshot of my Dynamo, this is the current status, and below you can see ‘surface,’ but I can’t make any more progress. i have no idea :se


e_no_evil:

Hola Amigo @sinik buenas. I would like to help you, but I’m a little confused, can you be more clear with what you need please? you need to create dimensions to represent a distance between points? or you need to recreate cogo points to reimport them to .dwg and then create a new surface? I leave you the link of how to create dimensions to measure distances!

buenas amigo @gilberto.arechigaiba ,
so i have my points and i have my tin-surface and I am attempting to determine the distance between a point and DTM, and this distance is measured perpendicular to the surface.

i try here again with other words:

  • I have already performed terrain modeling in Civil 3D and represented the desired state. The current state has been measured, and I am now trying to determine the deviation between the desired and current states in both vertical and horizontal directions relative to the surface. and this case for current states i just habe points.

If that surface is made in Civil3D, you need to somehow make a dynamo geometry from that, unless there is a node that will get you the distance from Civil3D element and dynamo points…

Amigo @sinik buenas, something like this?? i need something more specific in what are you intendt to do:
Option A. Put 2 new cogo points group 1 group of corrected points and a second 1 of projected into base surface, and put the mesurement using cotation?
Option B. Make a series of profile views representing this vertical or horizontal cuts showing this diference of elevations or distances betwen corrected points and projected points?
Option C. Just make the calculations and generate an spread sheet!

@gilberto.arechigaiba
i have my points in txt file (point name , X , Y, Z), and i have my tin-surface in Civil 3d already,
what i wanna do is , to upload the points to civil 3d and than try to calculate the distance from each point to the surface. :pray:


i added this picture , to show what i wanna so is something similar to that

Hi, try something like this. Sorry I don’t have time to test it now.

1 Like

Hi @Drbohlav,
First of all, thank you for your effort and support with this matter. I have the following issue now after I executed it. I will post it, and perhaps you’ll have a chance to take a look at it, or maybe a member here will.

Ho boy, i thin i see what is your problem now, you have 2 or 3 list of points, 1 original and a second generated, but you don’t get the list in the order that you need, and you don’t know how to order it to get the rigth relations and make the mesure, am i rigth??