ArcEngine调用GP里的Merge工具传参问题

Merge工具inputs参数形式与Python中不同:

 

string startLayerPath= cpj.TempWs.PathName + @"\" + datasetName + @"\" + currentFc.Key + "start";

string endLayerPath= cpj.TempWs.PathName + @"\" + datasetName + @"\" + currentFc.Key + "end";

Merge mergeTool = new Merge();
mergeTool.inputs = "\""+startLayerPath+";"+endLayerPath+"\"";

posted @ 2019-03-05 09:06  就是小鱼儿  阅读(463)  评论(0编辑  收藏  举报