Select to view content in your preferred language

How to get the detailed information about the generation process in ArcGIS Pro SDK

800
1
Jump to solution
09-10-2021 02:28 AM
by Anonymous User
Not applicable

Hi,

What would be the best way to show the progress while generation of the sheets in ArcGIS Pro SDK. Couple of things we are doing while sheet generation and would like to show same as it process with time. 

Below is the screenshot what we are actually looking for.

Can anyone please provide the  sample(in C#) for the same.

Expected Output:

ShabinaBano_0-1631265832141.png

Thanks in advance.

 

0 Kudos
1 Solution

Accepted Solutions
Wolf
by Esri Regular Contributor
Esri Regular Contributor

The ModifyNewlyAddedFeatures community sample has a 'Modify Monitor' dockpane that has a similar status text box as you show in your post.  This status text (implemented as a simple WPF TextBox control) is updated from background or GUI threads.  Here is the method:

arcgis-pro-sdk-community-samples/ModifyMonitorViewModel.cs at master · Esri/arcgis-pro-sdk-community...

If you open this sample in Visual Studio you can follow the logic required to call this method from anywhere in you add-in.

 

 

View solution in original post

1 Reply
Wolf
by Esri Regular Contributor
Esri Regular Contributor

The ModifyNewlyAddedFeatures community sample has a 'Modify Monitor' dockpane that has a similar status text box as you show in your post.  This status text (implemented as a simple WPF TextBox control) is updated from background or GUI threads.  Here is the method:

arcgis-pro-sdk-community-samples/ModifyMonitorViewModel.cs at master · Esri/arcgis-pro-sdk-community...

If you open this sample in Visual Studio you can follow the logic required to call this method from anywhere in you add-in.