AutoCAD Civil 3D Customization

Reply
Valued Contributor
raghulan
Posts: 74
Registered: ‎01-11-2012
Message 1 of 3 (534 Views)

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

534 Views, 2 Replies
09-24-2012 10:52 PM

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 BIM Specialist IT & Infrastructure
CSI Global pty Limited. - Singapore | Sydney
Web : www.csigs.com.au
www.civil3dforum.com | www.e4forums.com
www.zcodia.com.au
ADN Support Specialist
Posts: 542
Registered: ‎06-09-2009
Message 2 of 3 (518 Views)

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

09-27-2012 03:38 AM 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

Valued Contributor
raghulan
Posts: 74
Registered: ‎01-11-2012
Message 3 of 3 (511 Views)

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

09-27-2012 06:15 PM 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 BIM Specialist IT & Infrastructure
CSI Global pty Limited. - Singapore | Sydney
Web : www.csigs.com.au
www.civil3dforum.com | www.e4forums.com
www.zcodia.com.au

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs