Select to view content in your preferred language

How to open tool dialog for raster functions and change detection wizard?

222
3
Jump to solution
06-13-2024 04:34 AM
MuhammadElbagoury
New Contributor II

Dear All,

I am trying to create an add-in that opens the tools dialogs like ndvi (raster functions) or Change detection wizard.
I tried to do this workflow on Geoprocessing tools like Buffer and it worked.

Here is the code for this:
"Geoprocessing.OpenToolDialog("analysis.Buffer", null);"

So how to make like this to open raster functions ??

Thank you.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
MuhammadElbagoury
New Contributor II

I made it with the ID by adding this line to the "Config.daml" file :
<tool refID="esri_datasourcesraster_changeDetectionToolsGallery" size="large" />

View solution in original post

0 Kudos
3 Replies
UmaHarano
Esri Regular Contributor

Hi,

Try using the tool name mentioned in the Python tab on the tool documentation.

UmaHarano_0-1718641602063.png

 

MuhammadElbagoury
New Contributor II

Thank you for your support:
This worked "Geoprocessing.OpenToolDialog("ComputeChangeRaster", null);"
But I still cannot open the pane for the Change Detection Wizard.

I also got an idea:
Can I open it using its ID as the ID of the wizard is "esri_datasourcesraster_changeDetectionToolsGallery" ??

0 Kudos
MuhammadElbagoury
New Contributor II

I made it with the ID by adding this line to the "Config.daml" file :
<tool refID="esri_datasourcesraster_changeDetectionToolsGallery" size="large" />

0 Kudos