Calculate and annotate elevation difference between coordinate points

Calculate and annotate elevation difference between coordinate points

Wojty1
Advocate Advocate
2,158 Views
12 Replies
Message 1 of 13

Calculate and annotate elevation difference between coordinate points

Wojty1
Advocate
Advocate

Hello,

 

I have a drawing with a lot of coordinate points where I need to calculate and annotate the elevation difference between two selected points.

 

For example, I have two points P1 and P2.

P1 elevation = 123.456 m

P2 elevation = 134.567 m

The elevation difference would be 11.111 m

 

Is there a way or workaround to have all my coordinate point pairs annotated?

 

I now that I there are many dimension tools, but they all only work in the X-Y plane.

 

Any help appreciated.

 

 

Windows 10 Pro 64-bit | Civil 3D 2024+2025 / Revit 2024 (64-bit EN)
Intel Core i7-7700K / 2x 27" / 64 GB RAM / GeForce RTX 3060 OC V2

Windows 11 Pro 64-bit | All Autodesk Products 2023 - 2025
Intel Core i7-13850HX / 3x 27" / 128 GB RAM / nVidia RTX Ada 3500
0 Likes
2,159 Views
12 Replies
Replies (12)
Message 2 of 13

AllenJessup
Mentor
Mentor

Are The "Coordinate Points" Civil 3D Points, Surface Points or something else?

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 13

Joe-Bouza
Mentor
Mentor

If these are equal x,y then make a surface defining each strata, then a volume surface and label

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 4 of 13

Wojty1
Advocate
Advocate

All those points are Civil 3D Points imported from a text file.

Their X, Y Coordinates are not equal, they can even differ up to 10 meters or more, but I only need the vertical offset, the Z-Coordinate difference between two points.

 

Please let me know if I should upload a sample drawing file. Thank you all for your efforts.

Windows 10 Pro 64-bit | Civil 3D 2024+2025 / Revit 2024 (64-bit EN)
Intel Core i7-7700K / 2x 27" / 64 GB RAM / GeForce RTX 3060 OC V2

Windows 11 Pro 64-bit | All Autodesk Products 2023 - 2025
Intel Core i7-13850HX / 3x 27" / 128 GB RAM / nVidia RTX Ada 3500
0 Likes
Message 5 of 13

Pointdump
Consultant
Consultant

Hi Wojtek,
How are you determining the pairs?
Yes, please post a drawing.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 6 of 13

MMcCall402
Mentor
Mentor

You could make a line label expression that subtracts the end Z from the start Z, use it in a line label style, then either use it to label line objects drawn from one point to the other or use it with the line/curve labelling command with the option to label Line between 2 points.

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

Message 7 of 13

Wojty1
Advocate
Advocate

Attached is a reduced, purged and "simplified" drawing.

 

What I need to do is determine the elevation difference between the nearest red and blue, respectively between magenta and blue points.

Windows 10 Pro 64-bit | Civil 3D 2024+2025 / Revit 2024 (64-bit EN)
Intel Core i7-7700K / 2x 27" / 64 GB RAM / GeForce RTX 3060 OC V2

Windows 11 Pro 64-bit | All Autodesk Products 2023 - 2025
Intel Core i7-13850HX / 3x 27" / 128 GB RAM / nVidia RTX Ada 3500
0 Likes
Message 8 of 13

MMcCall402
Mentor
Mentor

This was my thought.  I found out it doesn't work with the point to point labelling but it does work on a line.

 

MMcCall402_0-1695919300184.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

Message 9 of 13

Pointdump
Consultant
Consultant

Wojtek,
I can't think of any automated way, nothing better than Mark's line label idea.
I gotta say, how did you label all your points? You only have one point group, and it has no point label style, nor overrides. And no description keys. You have a block named "AFRY", but BEDIT shows an empty block definition.
If you want something automated, you'll need to discover a way to pair up the points.
Dave

 

Paired.png

 

Paired_1.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 10 of 13

TerryDotson
Mentor
Mentor

If you were to consider third party add-ons, DotSoft's C3DTools contains a Point Compare tool that will let you compare two point groups with a radius tolerance for items to qualify for the report.   Works on point names (your case) or point numbers.  A single click throws the report into Excel for refinement.

 

Capture.png

 

It contains a labeling option but it's currently oriented more towards stacked points, labeling at the point with the delta X,Y,Z values.  We'll add an option for a linear label later today and perhaps a better grouping of the rows (one instance of the primary followed by multiple secondaries).

0 Likes
Message 11 of 13

jroot
Advisor
Advisor

There are some people on here with incredible LISP talent and are willing to help. I am not one of them but I do have a LISP that extracts the elevation from a cogo point as a piece of text. There must be a way to create a LISP that lets you select two cogo points and spit out the elev difference as text.

0 Likes
Message 12 of 13

tcorey
Mentor
Mentor

You're right, there's a way to extract the info you want using LISP. The trick would be to search for the nearest other point object. Using Visual LISP you can extract the elevations from the COGO Points very easily...once you have them selected. 



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
0 Likes
Message 13 of 13

Wojty1
Advocate
Advocate

Thank you all so much!

Now I've read through the C3D Help and learned how to create Labels and Expressions.

So far, I've managed to create my own Label Style, but (as you can see from the screenshot) the Elevation is not being calculated.

Any ideas what could be the reason?

 

Screenshot:
Wojty1_0-1695944626444.png

 

Label Expression:

 

{General Segment End Z}-{General Segment Start Z}

 

 

Command used:

ADDLINEBETWEENPOINTS

 

(See attached drawing file)

 

Many thanks in advance.

Windows 10 Pro 64-bit | Civil 3D 2024+2025 / Revit 2024 (64-bit EN)
Intel Core i7-7700K / 2x 27" / 64 GB RAM / GeForce RTX 3060 OC V2

Windows 11 Pro 64-bit | All Autodesk Products 2023 - 2025
Intel Core i7-13850HX / 3x 27" / 128 GB RAM / nVidia RTX Ada 3500
0 Likes