AnsweredAssumed Answered

CopyFeatures and Geoprocessor changed after SDK 10.0?

Question asked by olamr on Sep 27, 2015
Latest reply on Sep 28, 2015 by olamr

Hi all,

I have been using this simple C# code to copy featureclasses between geodatabases (ArcObjects SDK 10.0):

...

using ESRI.ArcGIS.DataManagementTools;

using ESRI.ArcGIS.Geoprocessor;

...

CopyFeatures cf = new CopyFeatures;

cf.in_features = "C:\\geodb1.mdb\\MyFeatureClass";

cf.out_feature_class = "C:\\geodb2.gdb\\MyFeatureClass";

Geoprocessor gp = new Geoprocessor();

gp.OverwriteOutput = true;

gp.AddOutputsToMap = false;

gp.Execute(cf,null);

...

After installing ArcObjects 10.3, "Geoprocessor.Execute()" is using other parameters, but somehow I cannot find any code examples or documentation dealing with this situation.

 

Any suggestions ?

 

-Ola

Outcomes