AnsweredAssumed Answered

Disable only one layer while it is processed on the MCT

Question asked by gbs522 on Mar 28, 2018
Latest reply on Mar 29, 2018 by gbs522

Hi,

 

I am writing an ArcGIS Pro tool that performs a mass update of GIS values for one layer at a time. I followed the Geodatabase API snippet for modifying rows (ProSnippets Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub ) and it works fine/does exactly what I need it to do.

 

However, the problem I am facing is the update could take a very long time to execute if I am updating thousands of rows at a time. I understand that when a task is running on the MCT, all the UI commands are disabled by default. Ideally, I'd like to keep the UI responsive and usable while the update runs in the background.

 

Is there any way in the SDK to disable only the specific layer that is being processed, rather than everything in the UI (table of contents, ribbon, etc)? I see that using the Field Calculator in ArcGIS Pro works this way, so I am wondering if there's a way to implement similar behavior for my tool.

 

Thanks in advance!

Greg

Outcomes