AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Active Member
zdenek.neustupa.st1
Posts: 6
Registered: ‎11-02-2011
Message 1 of 1 (132 Views)

Managing existing SHP connection

132 Views, 0 Replies
01-16-2012 06:24 AM

Hello.

 

I am quite new to FDO so my question may sound little bit silly.

I just would like to know, if it is possible to manage a connection to SHP files, which is already created.

 

The situation: I have dwg file to which are connected several SHP files containing data. I can see and configure this connection in AutoCAD Civil 3D 2012 using Data Connections dialog window.

 

I learned how to make a new connection using

OSGeo.FDO.ClientServices.FeatureAccessManager.GetConnectionManager().CreateConnection(“OSGeo.SHP”).

But if I use a select command to filter some data from the SHP files it doesn’t influence the tables which are displayed in AutoCAD Map 2012.

 

Is there any way to access the created connection and then to execute a command using that connection?

Either via FDO or MapGuide dlls? 

 

Thank you very much.

 

Zdeněk Neustupa



Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!