I created a custom geoprocessing tool called "CreateCoverLayer". It has no input or output parameters. I have the following snippet of code, but get an error message due to the fact that the Execute
method is looking for an array of parameters as the second input argument. Can I use this tool with no parameters, or is that not possible? Thanks!
IGeoProcessor2 gp = new GeoProcessorClass();
gp.AddToolbox(@"C:\TestToolbox.tbx");
gp.Execute("CreateCoverLayer", null, null);
IVariantArray
? – blah238 May 25 at 4:10