Hello,Is it possible to use a button on a form in an add-in to launch a custom geoprocessing script (contained in a custom toolbox) such that the window pops up asking for parameters? I want the window to appear just as if you are clicking on the script directly in the ArcToolbox window, so that you can choose parameters on that window and click OK to run the script.Thanks,Evan.
IGPToolCommandHelper cmdHelper = new GPToolCommandHelperClass(); cmdHelper.SetToolByName("MyToolbox.tbx", "MyToolName"); cmdHelper.Invoke(null);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.