3
votes
2answers
397 views

How to run a custom Geoprocessing tool using no parameters?

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 ...
3
votes
1answer
253 views

Getting “Failed to open tool” message when trying to run geoprocessing tool from C# code

I've been experimenting with the Military Aspects of Terrain Template, which has a toolbox associated with it. I've been using the following WPF Runtime code, which should open a tool in the ...
0
votes
2answers
205 views

How to add command developed with C# to ArcToolbox

I have a command that develop with c# . I want to add this command to the arctoolbox . is there any way to add command to arctoolbox in arcgis programmatically ?
1
vote
1answer
473 views

Custom C# tool populate field combobox parameter from layer parameter

I'm creating a custom tool for arcmap toolbox where user select FeatureLayer in one combobox, and in next combobox user can select a field from selected FeatureLayer. FeatureLayer combobox fills ...
0
votes
1answer
288 views

ArcGIS 10 IGPFunction2 and IGPFunctionFactory Implementation

I'm creating a custom ArcToolbox tool in C# .NET in ArcGIS 10 SP2. Though I seem to be having two issues which maybe related: Firstly, my tool is run as a background task i.e. the GP dialog does not ...
2
votes
1answer
2k views

Programmatically adding custom GP tool to a toolbox

I'm having issues add a custom GP tool to my toolbox programmatically using c#. The tool gets added to my toolbox OK but then when I try to open it it fails adding a red cross to the tool and ...
1
vote
1answer
464 views

How to execute gp.execute ArcSDE tool in C#

So I created an ArcGIS 10 toolbox in ArcSDE and added a tool to it. There are enough examples out there on how to execute a tool.tbx that resides outside SDE or GeoDB. But in C#, how do you use ...