[fdo-users] Visual data filtering
zdenek.neustupa at centrum.cz
Thu Mar 15 07:44:11 EDT 2012
I am quite new to FDO so please be patient with me.
I have a question which could seem little silly.
I enclose a code snippet which I use to load data from SHP files during an
opening of DWG file to which the SHP data is onnected.
What I need is:
If I SELECT data using a select command, I need to show this result in
AutoCAD Civil 3D as well (visually).
Is there anything in FDO what I can use to do this, or is it no longer a
part of FDO?
Thank you very much for your answer.
public void LoadData(string featClass)
string name =
string myShpFileOrDirectory = name.Remove(name.LastIndexOf('\\') + 1) +
OSGeo.FDO.IConnectionManager mConnMgr =
OSGeo.FDO.Connections.IConnection mProvConn =
OSGeo.FDO.Connections.IConnectionInfo connInfo = mProvConn.ConnectionInfo;
OSGeo.FDO.Connections.IConnectionPropertyDictionary connPropDict =
OSGeo.FDO.Commands.Feature.ISelect selCmd =
OSGeo.FDO.Commands.Feature.IReader myReader = selCmd.Execute();
// put SELECT result to data grid and show it in Win Form to user
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fdo-users