In ArcPro 2.1 there was an Operation object available in the args:
private void OnRowChanged(ArcGIS.Desktop.Editing.Events.RowChangedEventArgs args)
{
QueuedTask.Run(() =>
{
EditOperation eo = args.Operation;
//blah blah blah
//more awesome code
//blah blah blah
});
}
I don't see it any longer in ArcPro 2.2 - anyone know if this is coming back?
Solved! Go to Solution.
Hey Stuart,
The edit operation that is passed through to the row events is the currently executing edit operation either from your custom tools or Pro’s core edit tools. In the row events you're simply adding additional edit operation methods to the current edit operation which is being executed outside the event. The 'regular' edit operation rules apply in that you cant create/execute edit operations within the row events, because one is already running, hence the exception.
That makes perfect sense. Simply removing the .Execute() line solves the problem. As always, thanks for your prompt and helpful response.