AnsweredAssumed Answered

Hook into ArcGIS command and get events

Question asked by RehmSoftware on Nov 25, 2019

Hi,

 

ArcGIS has a nice command to edit the vertices (add, delete, move etc.) of a polyline and it also makes it easy for me to actually call it from a Button:

 

var iCommand = FrameworkApplication.GetPlugInWrapper("esri_editing_EditVerticesModifyFeature") as ICommand;
if (iCommand != null && iCommand.CanExecute(null))
    iCommand.Execute(null);

Now whenever a polyline vertice is added, moved or deleted through this command I need to update an internal data structure. Is there a way to get this information somehow? Maybe there's an event or something?

Because it would be great if I could just use the ArcGIS functionality instead of having to re-implement most of the stuff..

 

Thanks in advance!

Best regards

 

Christian

Outcomes