Elevation Data not Importing

Elevation Data not Importing

CColozza
Contributor Contributor
3,210 Views
11 Replies
Message 1 of 12

Elevation Data not Importing

CColozza
Contributor
Contributor

I'm doing some work with the Illinois state LiDAR point cloud and my team keeps hitting the same wall with flat contours in AutoCAD Map 3D. Starting with the raw point cloud, Global Geomapper is used to turn the data into SHP file contours where the elevation is output as a separate TXT file. Arc GIS Pro is then used to clip the contour to the area I'm investigating as well as import that TXT file to a new column of data. Starting with a geo-located file in Illinois NAD-83 East Foot, I click on "Map Import" and navigate to the SHP file from Arc Pro. I've tried importing the object data and leaving it out but it makes no difference. Upon importing the contours, AutoCAD maps the contours to the right geolocation but everything is flat. The object data for each contour clearly has a data field titled "Elevation" in the AutoCAD Properties tab, but AutoCAD doesn't seem to recognize that is should be using that data for the Z coordinate. I've attached a sample of the SHP output from Arc Pro.

 

CColozza_0-1684360379062.png

 

 

Has anyone encountered this before? Should the data field in Arc Pro be named something very specific so that AutoCAD finds it upon importing?

0 Likes
Accepted solutions (1)
3,211 Views
11 Replies
Replies (11)
Message 2 of 12

Pointdump
Consultant
Consultant

Hi Charlie,
You're just lacking a step or two. Read >>>Here<<<.
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 3 of 12

Pointdump
Consultant
Consultant

Charlie,
I used the Attach/Query method to assign elevations to your contours. Drawing attached.
Dave

 

ContoursAtElev_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 4 of 12

braudpat
Mentor
Mentor
Accepted solution

Hello @CColozza 

 

1) You can use @Pointdump method to elevate your 2D Plines

 

2) Or you can use a Lisp routine "OD2DXF38" which elevate the 2D Plines to the Object Data value "ELEVATION"

 

The Health, Bye, Patrice (The Old French EE Froggy)

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 5 of 12

Pointdump
Consultant
Consultant

Hi Patrice,
Nice! Very fast and easy!
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 12

ChicagoLooper
Mentor
Mentor

Hi @CColozza 

Brookport? Metropolis?

 

You don't necessarily need ArcGIS or ArcPro. All you need is to convert the LiDAR into shapefile (which you've already completed using Global Mapper). Using your shapefile, the entire operation can be done using Map3D/Civil3D in two parts.

 

Part 1 (Refer to image-1):

Open a brand new clean drawing template so you can convert the shapefile from ESRI vectors to AutoCAD polylines. Do this using MAPIMPORT command. Be sure to assign coordinate system IL83-EF beforehand. During the import process, you'll accomplish two things:

  • Convert from shapefile linework to plain vanilla AutoCAD polylines.
  • Capture (or harvest) the elevation values from the shapefile's database file (dbf). The captured data is known as Object Data (OD).

Name this drawing DEMO_101.dwg and save it your project folder. Once it's saved, close it and proceed to Part 2.

Image-1Image-1

 

Part 2:

This part requires opening a brand new second drawing (or you may use your current drawing). In this second drawing, you'll perform a QUERY by connecting to Demo_101.dwg, the drawing you saved a minute ago. The connection entails Drag-and-Drop. Be sure to assign IL83-EF to this second drawing just like the previous drawing.

 

Drag Demo_101 from your project folder and drop it directly on a blank area of the Map Explorer Tab of the Map Task Pane. (MAPWSPACE=>enter ON on command line.) The drawing named Demo_101 is now attached to your second drawing Follow all steps to Execute Query. (Refer to images 2 thru 4).

IMG_1638.jpeg

Image-2

Image-3Image-3

 

 

Image-4Image-4

As a final step, detach DEMO_101.dwg. by selecting it from the Explorer Tab of the Map Task Pane that you attached earlier=>right click=>Detach.

 

To verify proper contour elevation, use the view cube and view the contours from Top, Front and Left views. When you zoom-in close, you'll see the contours have been raised to their respective elevation. While viewing from either front or left view, select an individual contour and view its Elevation under the Geometry Section of the Properties Palette. The elevation shown under the Geometry section will be consistent with the Elevation shown at the bottom of the Properties Palette (under the section name OD:Test_Contours).

 

***If you run Civil3D and want to make a surface, you can use these elevated contours as your surface definition.

 

Image-5Image-5Image-6Image-6

Chicagolooper

EESignature

Message 7 of 12

CColozza
Contributor
Contributor

Hello braudpat,

 

Choosing between your LSP program and using the Query method referenced twice in this post, your LSP was miles easier to use and understand. With the way our file structure is arranged, creating multiple files quickly isn't always possible or efficient; this LSP allows me use the original drawing I'm working with so long as I've imported the object data of the contours. Just a little editing/translating text to English is all I needed to tweak. 

 

Thank you!

 

CColozza

Message 8 of 12

braudpat
Mentor
Mentor

Hello @CColozza 

 

Do you need an US/English version or the French version is OK for you ?

 

The Health, Bye, Patrice

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 9 of 12

CColozza
Contributor
Contributor

braudpat,

 

Perhaps for the sake of this forum and those who may read this in the future, it would helpful if you were able to upload a US/English version.

 

Best Regards,

 

CColozza

0 Likes
Message 10 of 12

braudpat
Mentor
Mentor

Hello @CColozza 

Here is the US/English version ...

The Health, Bye, Pat

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 11 of 12

thomasdonahueMZ7RK
Community Visitor
Community Visitor

Can you provide further explanation on how to work through the LISP method? I have never used this methodology before.

0 Likes
Message 12 of 12

braudpat
Mentor
Mentor

Hello @thomasdonahueMZ7RK 

 

Command:  APPLOAD < Enter >

Select the OD2DXF38 Lisp file, Load, Close/OK

 

Command: OD2DXF38 < Enter >

 

Then ...

 

Bye, Pat

 

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes