Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imported shape file and elevations

19 REPLIES 19
SOLVED
Reply
Message 1 of 20
MKH-VB
6607 Views, 19 Replies

imported shape file and elevations

I have an interesting problem.  I have imported a shp file from a state agency.  This file contains contours for an area.  When I tag the pline, it shows a "zero" elevation, but shows a numeric elevation within the DXF_ELEV feature.  Please see the attached image.  I am needing to convert these to pline with elevation to work on in autocad.  Can someone tell me how to get polyline w/ elevations to export from c3d?  Thanks for any help you can give.c3d elevations.png

mkh
19 REPLIES 19
Message 2 of 20
thepworth
in reply to: MKH-VB

See if you can follow using the import & change properties by drawing query - I put a document together & posted in the following thread:

 

http://forums.autodesk.com/t5/AutoCAD-Civil-3D/Object-information-to-object-geometry/td-p/3367841

Message 3 of 20
mathewkol
in reply to: thepworth

That query workflow is no longer required.  Civil 3D has a tool built in for that now.  Import Tab, Insert Panel.

 

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 4 of 20
MKH-VB
in reply to: MKH-VB

C3D 2011?

mkh
Message 5 of 20
MKH-VB
in reply to: MKH-VB

that document loses me at number 6 iv.  Have no idea what "e234_mowest" is.

 

MKH

mkh
Message 6 of 20
thepworth
in reply to: MKH-VB

sorry, it was data specific for that user - I think I have the original document on my PC at home, but not sure.  

 

In general, the idea was to mapimport the gis data into a drawing & create object data.  The we were transforming from the drawing with the imported data (contours at 0 elevation) and using a "alter properties during drawing query" to force the contours to the correct elevation.  

 

I'm sitting in on a webinar today, so if you have specific questions, or want me to look at what you're wanting to do, I'll be happy to do what I can so I don't die of boredom here 🙂

Message 7 of 20
MKH-VB
in reply to: thepworth

I am wanted polylines with elevations, so I can work on it in autocad. Is there a way for me to attach the cad file?

mkh
Message 8 of 20
thepworth
in reply to: MKH-VB

Create a new drawing & assign the coordinate system to match the .prj file from the shapefile.

 

Mapimport & create object data.  Make sure the object data includes the elevation assigned to the line in the shp file (shape files are 2.5D - elevation is an attribute).

 

then attach this drawing to your design/destination drawing in your design coordinate system. - from the "map explorer tab" of mapwspace, right click on drawings & follow the dialog to attach.

 

then query the drawing and use "alter properties" to assign the object data of the elevation from the shp to the z values of the resulting polylines.

 

detach the intermediate drawing & ignore the warning message.

 

HTH

Message 9 of 20
MKH-VB
in reply to: thepworth

awesome....that did it.  Thanks much.

 

MKH

mkh
Message 10 of 20
mathewkol
in reply to: MKH-VB

Not 2011, this is why it's important to include your version in every post you make.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 11 of 20
fcernst
in reply to: thepworth

Thank you for the workflow. It just helped me out.

 

Is this two drawing process still the most efficient C3D process for ESRI Shape>C3D contours @ elevation?



Fred Ernst, PE
C3D 2024
Ernst Engineering
www.ernstengineering.com
Message 12 of 20
mathewkol
in reply to: fcernst

No, as I said earlier it is not.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 13 of 20
fcernst
in reply to: mathewkol

 

Is this the right one? 

 

 

Capture.JPG



Fred Ernst, PE
C3D 2024
Ernst Engineering
www.ernstengineering.com
Message 14 of 20
mathewkol
in reply to: fcernst

Ok, I need to apologize, I was off on the location in the Ribbon.  It's here.

 

1.png

 

 

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 15 of 20
fcernst
in reply to: mathewkol

 

Thanks. The C3D 2013 Help is saying the same thing you were saying though, see below....?

 

I don't see Import panel > Map Import on my Insert Tab. Is there some CUI setting I need?

 

 

Capture.JPG



Fred Ernst, PE
C3D 2024
Ernst Engineering
www.ernstengineering.com
Message 16 of 20
tcorey
in reply to: mathewkol

Matt, isn't the Surface from GIS function expecting a shape file with a surface defined, as opposed to the OP's issue which was a shape file with lines/polylines? I am pretty ignorant on ArcView so please enlighten me if I am wrong.

 

Best regards,

 

Tim

 



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 17 of 20
mathewkol
in reply to: tcorey

No Tim.  It's actually expecting a shape file with contours at elevation.  I don't think there's even a way to define a surface within a shape file.  This tool was really a welcome addition when it was introduced.  Means we didn't have to go through all those hoops with that crazy query workflow.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 18 of 20
fcernst
in reply to: tcorey

I just did this GIS Surface routine now and it did not do very well with these City 2' shape file format contours. It came up with a lot of crossing breakline errors, and thus resulted in a poor representation of  the contours. I don't "see" any crossing contours in the shape contours. 

 

I have polyines at elevation now from the Query workflow that I can use to create a surface if I don't get this working with Crossing Breaklines settings. 

 

Anybody know where the  Insert Tab> Import Panel > Map Import is the C3D 2013 Help refers to?



Fred Ernst, PE
C3D 2024
Ernst Engineering
www.ernstengineering.com
Message 19 of 20
tcorey
in reply to: mathewkol

That being the case, it seems odd that the program doesn't let you minimize flats areas during the import. I guess you can always go back and perform that as a later edit.

 

 



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 20 of 20
mathewkol
in reply to: tcorey

After I do a "surface from gis data" i have a minimize flat areas edit in my surface definition.  I received a crossing breaklines message too, but I didn't see anything wrong with the subsequent surface.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report