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

Export Electric NA topobase data to Shape file.

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
dayaland
820 Views, 8 Replies

Export Electric NA topobase data to Shape file.

Hi All,

 

I am using AutoCAD Map3D 2014 and I have industry model Electric NA data.

 

I want to export a selected area/selected featureclass/selected feature to shape file.

 

Some one please help me and share the details. Do we have any Out of box functionality?. Please share .net api if any.

 

Regards,

Dayalan

8 REPLIES 8
Message 2 of 9
imago69_
in reply to: dayaland

Hi,

 

To export data to a shape file you have to use the exporter object which is in Autodesk.Gis.Map.ImportExport.Exporter.

 

 

 

 

Message 3 of 9
hence_the_name
in reply to: dayaland

Hi,

you can export to SDF / SQLite - you can find the functionality in a layer's context menu ("out of the box"). SDF/SQLIte can then transformed to SHP (Map FDO Buljk Copy - "out of the box") - not very user freindly but all out of box functionality.

Rob
http://raumpatrouille3d.blogspot.ch/
Message 4 of 9
drewbb
in reply to: dayaland

I would additionally consider using FME Desktop from Safe Software.  You can download the 14 day trial if you only need to do it once.

Sincerely,
Drew Burgasser, P.E.
CAD Masters, Inc.
www.cadmasters.com
Message 5 of 9
dayaland
in reply to: hence_the_name

Hi Rob,

Thanks for reply.

 

I do not understand the below part. What is the exact command?. Any sample .net code for 'mgfdobulkcopy.dll'?

 

"SDF/SQLIte can then transformed to SHP (Map FDO Buljk Copy - "out of the box") - not very user freindly but all out of box functionality."

Regards,

Dayalan

Message 6 of 9
hence_the_name
in reply to: dayaland

Hi Dayalan,

 

sorry, I think I misunderstood you. I thought "out of the box" means no programming requiered - standard Map functionality.

 

I'm not aware of any Map - BulkCopy API sample.

 

In Map - I don't know the command name - you need to open Map Workpane > Display Manager.

Click on the Data icon > Bulk Copy.

 

Screenshot attached (german language, no english version available)

screenshot.png

Good luck, Rob

http://raumpatrouille3d.blogspot.ch/
Message 7 of 9
drewbb
in reply to: dayaland

If you want to use the API, it will most likely be a 2 part process:

1. Convert the Topobase features to AutoCAD entities with object data.

2. Use the Exporter to export the AutoCAD entities with object data to SHP.

Sincerely,
Drew Burgasser, P.E.
CAD Masters, Inc.
www.cadmasters.com
Message 8 of 9
dayaland
in reply to: hence_the_name

Hi Rob,

 

Great. i have verified and looks good.

 

 

 

I will review further and get back if anything required.

 

Regards,

Dayalan

 

 

Message 9 of 9
dayaland
in reply to: dayaland

All,

 

 

I am trying to export FDO industry model data to Shape file using 'MgFdoBulkCopy.dll' from AutoCAD .net.

 

Some one please share the sample code for this. I stuct on giving source and target connection and Mapping to BulkCopy object.

 

Please help me.

 

Regards,

Dayalan

 

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

Post to forums  

Autodesk Design & Make Report

”Boost