AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

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

Managing existing SHP connection

127 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
Need installation help?

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