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:
<SPAN class="keyword token">var</SPAN> iCommand <SPAN class="operator token">=</SPAN> FrameworkApplication<SPAN class="punctuation token">.</SPAN><SPAN class="token function">GetPlugInWrapper</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"esri_editing_EditVerticesModifyFeature"</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="keyword token">as</SPAN> ICommand<SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">if</SPAN> <SPAN class="punctuation token">(</SPAN>iCommand <SPAN class="operator token">!=</SPAN> <SPAN class="keyword token">null</SPAN> <SPAN class="operator token">&&</SPAN> iCommand<SPAN class="punctuation token">.</SPAN><SPAN class="token function">CanExecute</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">null</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
iCommand<SPAN class="punctuation token">.</SPAN><SPAN class="token function">Execute</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="keyword token">null</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>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