Select to view content in your preferred language

OnSketchCompleteAsync not running

244
1
04-04-2023 07:33 AM
RussellSuter
New Contributor II

Hi all.  Total noob with ArcGIS Pro and C# development.

I'm playing with the FeatureSelection tool found in the arcgis-pro-sdk-community-samples GitHub repository.  I tried setting a breakpoint in the OnSketchCompleteAsync method but the breakpoint was never hit.  So, as a test, I commented out the whole OnSketchCompleteAsync method, rebuilt the solution, and it runs the same.

RussellSuter_0-1680618768653.png

How do I get the OnSketchCompleteAsync that is in the project to run?

0 Kudos
1 Reply
RussellSuter
New Contributor II

I found out what was happening.  I was using this to select:

RussellSuter_0-1680627254421.png

The tool seems to need to use this:

RussellSuter_1-1680627298212.png

 

 

0 Kudos