Select to view content in your preferred language

Can I access the vertices selected in vertex editing?

325
1
09-19-2023 01:11 AM
ViktorSafar
Occasional Contributor II

I have a custom pane with a VM behind it, and at some point it starts vertex editing of the currently selected feature via 

var editCommand = FrameworkApplication.GetPlugInWrapper("esri_editing_EditVerticesNormal") as ICommand;
if (editCommand != null && editCommand.CanExecute(null))
{
    editCommand.Execute(null);
}

In this state it is possible to select vertices of the geometry, either by lasso or by clicking them in the list in the Modify Features pane. Can I access this selection?

Tags (2)
0 Kudos
1 Reply
AyanPalit
Esri Regular Contributor

@ViktorSafar Vertices can be selected when using the Edit Vertices tool in ArcGIS Pro. 

AyanPalit_0-1695120971289.png

I have not tested this programmatically.

 

Ayan Palit | Principal Consultant Esri
0 Kudos