Hi,
I have no idea as to how do I pass multiple input features to the intersect tool.
Here is my code
regards,
Nigel
Geoprocessor pGp = new Geoprocessor();
IFeatureClass pGDMFclass = pGDMFLayer.FeatureClass;
IFeatureClass pZoneFclass = pZoneFLayer.FeatureClass;
Intersect pIntersect = new Intersect();
//Pass more than one feature
pIntersect.in_features = pZoneFclass;
pIntersect.join_attributes = "ALL";
pIntersect.output_type = "INPUT";
IWorkspace pWs = pFWS as IWorkspace;
string path = pWs.PathName + "\\" + "TEST";
pIntersect.out_feature_class = path;
pGp.OverwriteOutput = true;
pGp.Execute(pIntersect, null);