AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Mentor
MKH-VB
Posts: 231
Registered: ‎06-28-2010
Message 1 of 20 (1,788 Views)
Accepted Solution

imported shape file and elevations

1788 Views, 19 Replies
04-12-2012 07:27 AM

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

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

Distinguished Mentor
thepworth
Posts: 525
Registered: ‎03-02-2011
Message 2 of 20 (1,785 Views)

Re: imported shape file and elevations

04-12-2012 07:42 AM 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


C3D 2011
Intel Xeon E5630@2.53Ghz
NVIDA Quadro NVS420 Dual Monitor
12GB Ram / Win7 Professional 64bit SP1
*Expert Elite*
mathewk
Posts: 2,764
Registered: ‎07-09-2003
Message 3 of 20 (1,776 Views)

Re: imported shape file and elevations

04-12-2012 08:13 AM 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
Cansel - Autodesk Division
http://www.cansel.ca/
Mentor
MKH-VB
Posts: 231
Registered: ‎06-28-2010
Message 4 of 20 (1,772 Views)

Re: imported shape file and elevations

04-12-2012 08:16 AM in reply to: MKH-VB

C3D 2011?

mkh
Mentor
MKH-VB
Posts: 231
Registered: ‎06-28-2010
Message 5 of 20 (1,770 Views)

Re: imported shape file and elevations

04-12-2012 08:27 AM in reply to: MKH-VB

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

 

MKH

mkh
Distinguished Mentor
thepworth
Posts: 525
Registered: ‎03-02-2011
Message 6 of 20 (1,767 Views)

Re: imported shape file and elevations

04-12-2012 08:32 AM 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 :smileyhappy:


C3D 2011
Intel Xeon E5630@2.53Ghz
NVIDA Quadro NVS420 Dual Monitor
12GB Ram / Win7 Professional 64bit SP1
Mentor
MKH-VB
Posts: 231
Registered: ‎06-28-2010
Message 7 of 20 (1,764 Views)

Re: imported shape file and elevations

04-12-2012 08:35 AM 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
Distinguished Mentor
thepworth
Posts: 525
Registered: ‎03-02-2011
Message 8 of 20 (1,759 Views)

Re: imported shape file and elevations

04-12-2012 08:53 AM 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


C3D 2011
Intel Xeon E5630@2.53Ghz
NVIDA Quadro NVS420 Dual Monitor
12GB Ram / Win7 Professional 64bit SP1
Mentor
MKH-VB
Posts: 231
Registered: ‎06-28-2010
Message 9 of 20 (1,751 Views)

Re: imported shape file and elevations

04-12-2012 09:10 AM in reply to: thepworth

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

 

MKH

mkh
*Expert Elite*
mathewk
Posts: 2,764
Registered: ‎07-09-2003
Message 10 of 20 (1,736 Views)

Re: imported shape file and elevations

04-12-2012 11:35 AM in reply to: MKH-VB

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

Matt Kolberg
Cansel - Autodesk Division
http://www.cansel.ca/
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.