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

Export Civil3D pipe network with Object Data to Shapefile(SHP)

2 REPLIES 2
Reply
Message 1 of 3
raghulan
1213 Views, 2 Replies

Export Civil3D pipe network with Object Data to Shapefile(SHP)

Hello Ppl, 

 

 Any advice on how to export Civil3D pipe network with Object Data as Shapefile.

Any code snippets will be of great help.

 

cheers

Regards,

Raghulan Gowthaman Cert IV TAA, B.E,.
Senior Technical Consultant | Developer - R&D
A2K Technologies Sydney
Web : www.a2ktechnologies.com.au
www.civil3dforum.com | www.e4forums.com
www.zcodia.com.au
www.raghulangowthaman.com
2 REPLIES 2
Message 2 of 3
Partha.Sarkar
in reply to: raghulan

Hi,

 

There's no API to achieve this directly. You might have to create an AutoCAD entity from Civil 3D Pipe object which will have the Object Data attached. After that you can use ManagedMap API to export to SDF or SHP format. You can see some relevant code snippet in our ADN DevBlog :

 

http://adndevblog.typepad.com/infrastructure/2012/04/export-dwg-to-sdf-using-autodeskgismapimportexp...

 

http://adndevblog.typepad.com/infrastructure/2012/03/exporting-dwg-to-sdf-using-epf-file-using-map-3...

 

http://adndevblog.typepad.com/infrastructure/2012/03/how-to-use-command-line-version-of-mapexport-fo...


Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 3 of 3
raghulan
in reply to: Partha.Sarkar

Thanks Partha,

 

There isnt much available for map3d and civil. I have seen those posts and I worked around it.

but the problem is ...I cannot get the geomtry data of the pipe from the api. i can only get the geometry data of autocad objects but not civil3d objects....how to go about it...cheers..

Regards,

Raghulan Gowthaman Cert IV TAA, B.E,.
Senior Technical Consultant | Developer - R&D
A2K Technologies Sydney
Web : www.a2ktechnologies.com.au
www.civil3dforum.com | www.e4forums.com
www.zcodia.com.au
www.raghulangowthaman.com

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

Post to forums  

Rail Community


Autodesk Design & Make Report