Hi all,
I have been trying this lately, but without any luck so far.. I need to export a layer in my SDE database to a GML File.. I am trying to use the 'Quick Export' Tool available under the Data Interoperability Toolbox for this purpose.. When I am doing this manually through Catalog I have not encountered any problem as such.. However, the same doesnt seem to work when doing it through my code..
Here is a very basic code chunk for this..
Geoprocessor m_GP = new Geoprocessor();
m_GP.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Data Interoperability Tools.tbx");
QuickExport m_QE = new QuickExport();
m_QE.Input = "Database Connections/genesis.sde/NE.TELCO/NE.EQUIPMENT";
m_QE.Output = "GMLSF, D:/GMLEXP/test.gml";
m_GP.OverwriteOutput = true;
m_GP.Execute(m_QE, null);
I have tried various input parameters etc nothing seems to actually work.. The code runs through the m_GP.Execute line without any error as such & in a flash.. Hence I can notice that there is no processing in this case.. The D:/GMLEXP Folder remains empty ..
Anyhow would really appreciate if some one can come up with any hints over this..
Regards,
Muneer..