AnsweredAssumed Answered

Can I get access to the Select one or more features control (with different shapes-rectangle,polygon,...) in ArcGIS Pro SDK C#?

Question asked by anandhasudhan on Sep 10, 2019
Latest reply on Sep 11, 2019 by EternalDOOM

I would like to use the "Select one or more features" tool in a custom dock pane I created. 

 

Is there a way I can access this functionality using the ArcGIS Pro SDK for C#?

 

The closest tool I could find from this link: DAML ID Reference Editing.daml · Esri/arcgis-pro-sdk Wiki · GitHub 

esri_editing_EditVerticesNormal - It brings up a dock pane with a select tool but I don't want 
to edit the vertices

My Use case:

I have a connect and disconnect button (similar to existing Move, Rotate). When I click either of them, I need to open a new dock pane with the select one or more features active which selects only a particular feature and has buttons on the dock pane which Activates once the selection is valid.

I found a sample project close to it: arcgis-pro-sdk-community-samples/Map-Exploration/FeatureSelection at master · Esri/arcgis-pro-sdk-community-samples · Gi… 

But it has only one select (by rectangle). I would like to replace that select tool with Esri's default feature selection tool as shown in the above image. 

 

In short, I would like to create a feature similar to Move, Rotate that performs a different operation using a similar dock pane as Esri's. 

Is there a way I can get access to this functionality. Instead of Move/Rotate/Scale, I would like to have my own functionality like Connect, Disconnect.

Outcomes