Creating surface from csv point

Creating surface from csv point

Anonymous
Not applicable
6,598 Views
12 Replies
Message 1 of 13

Creating surface from csv point

Anonymous
Not applicable

Hi,

 

I've plotted the points using "create from points". Only issue I'm having is when I go to ID the points. IT does give x, y ,but z(elevation) remained zero. I'm not to sure why its not plotting the points in the z(elevation) axis? when the csv file loads into the "create surface dialog". The preview does show an elevation point, but when its finished plotting. the elevation point all goes to 0.

 

 

0 Likes
Accepted solutions (2)
6,599 Views
12 Replies
Replies (12)
Message 2 of 13

Pointdump
Consultant
Consultant

Minh,
Going to need more information. Can you post your CSV file? Are you using Civil 3D or Map 3D?
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 13

Anonymous
Not applicable

Hi Dave,

 

Yes I can attach out csv file. As well the screen shot. Not to sure why the elevation are set to zero when the csv file has an elevation point.

0 Likes
Message 4 of 13

Anonymous
Not applicable

I'm using Map 3D

0 Likes
Message 5 of 13

braudpat
Mentor
Mentor
Accepted solution

Hello

 

OK you have "only" ACAD MAP and NOT ACAD CIVIL !

 

1) So I have modified a little bit your CSV to get a right Script file tu draw many 3D Points into ACAD ...

 

2) Then I run a TRIANGULATE VLX Routine from Mr Elpanov to get 3DFaces ...

 

3) Please see the .RAR file ... SCR + DWG + Triangulate.vlx ...

 

THE HEALTH, Regards, 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


Message 6 of 13

Anonymous
Not applicable

Thanks so much for this! Greatly appreciated. 

0 Likes
Message 7 of 13

Pointdump
Consultant
Consultant

Minh,
Yes, I notice this too. But you most assuredly have an Elevated Surface. Probably it shows Z=0 because the cursor is tracking the AutoCAD Screen and not the Surface. I don't know how to force the cursor to track the Surface.

 

LiDAR_XYZ.png

 


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
Message 8 of 13

Anonymous
Not applicable

Hi Dave,

 

Yeah, I'd tried adding contours lines on it as well. It worked fine but when selecting output into a dwg file and trying to xref it into another 3d model. the surface comes in at 0 elevation. 

Message 9 of 13

braudpat
Mentor
Mentor

Hello

 

If you have 2D Contour PLines (at level Z = Zero), I imagine that you have an OD (Object Data) with the Z / Altitude !?

 

So with the joined Lisp Routine "OD2DXF38" , you will elevate all your 2D PLines at the right Z / Altitude !

 

THANKS to CADaSchtroumpf / Bruno / Bonuscad

 

THE HEALTH, Regards, 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


Message 10 of 13

ChicagoLooper
Mentor
Mentor
Accepted solution

Coleville, SK. Correct?

 

Things to know:

  • Your csv is works fine in Map3D. No further edits are needed to use this csv in Map3D.
  • Your csv file is in 'PNEZ format' (Point, Northing, Easting, Elevation) and has four columns. If you had a fifth column it would most likely be 'D' which stands for description, i.e. PNEZD.
  • The northings and eastings appear to be referenced against UTM84-12N, meters.
  • Technically, the image of the green rectangle that you have uploaded is not a tinn surface, it's a raster. It's an organize array of pixels, not vectors like points or lines.
  • The coordinates you have highlighted on your uploaded image are the coordinates of that raster. The raster itself sits at elevation 0. You are not clicking on an individual point.

If you want to use MAPCREATESURFACE command, aka Create from Points button found on the Create Tab, you can do this:

  1. Start from a clean, brand new metric template. On command line type MAPCSASSIGN=>In search box enter 32612=>Select the coordinate system named UTN84-12N=>Click Assign Button.
  2. Go to Create Tab=>3D Surface Panel=>Create from Surface button=>click Plus '+' sign=>File=>browse to and select your csv. See image-1.
  3. Make your selections as shown=>Click OK. See image-2.
  4. Zoom extents. Your raster will appear in modelspace. The default color is green.
  5. Turn on Bing Hybird use it as a basemap and  compare it with your raster.

Image-1Image-1

 

Image-2Image-2

 

<<If you are running Civil3D in addition to Map3D then you can create a TINN surface using your csv points. Civil3D uses tinn surfaces and alignments to create profiles and cross sections. A tinn will also allow you to perform calculations such as cut-and -fill volumes and slope analysis.>>

Chicagolooper

EESignature

Message 11 of 13

Anonymous
Not applicable

This totally make sense why it wasn't working in the first place. Thanks for your help.

Message 12 of 13

pbryan8JTH2
Participant
Participant

Hello, I have a question about this lisp routine, could someone let me know how this part works? I am just starting to learn. I see that the -4 and 70 are dxf group codes and I have looked them up in a table, but if someone could just give me the gist of what this block of code accomplishes, I would appreciate it because I cannot figure out what 70 . 112 does especially. Thanks

 

;;;;;;;;;; Filter for "Good" Polylines ;;;;;;;;;;
'(-4 . "<NOT")
'(-4 . "&")
'(70 . 112)
'(-4 . "NOT>")
;;;;;;;;;; Filter for "Good" Polylines ;;;;;;;;;;
0 Likes
Message 13 of 13

CADaSchtroumpf
Advisor
Advisor

With DXF help:

 


70

Polyline flag (bit-coded; default = 0):

1 = This is a closed polyline (or a polygon mesh closed in the M direction)

2 = Curve-fit vertices have been added

4 = Spline-fit vertices have been added

8 = This is a 3D polyline

16 = This is a 3D polygon mesh

32 = The polygon mesh is closed in the N direction

64 = The polyline is a polyface mesh

128 = The linetype pattern is generated continuously around the vertices of this polyline


112 = 64+32+16 => for heavy polylines (light polylines are not affected by this bit) this discards (-4 . "<NOT") polylines that are polyface or polygon meshes