AnsweredAssumed Answered

Get EditOperation from undo stack?

Question asked by m.mevissenconterra-de-esridist Employee on Sep 2, 2016
Latest reply on Sep 12, 2016 by m.mevissenconterra-de-esridist

Hello everybody,

 

The general behavior of the Add-In which I develop is to edit a Row with ArcGIS Pro, and after Pro finished its operations, the Add-In performs some more. I chain the Add-In EditOperations, which works great. But as a result, there are of course two operations in the undo stack. One from Pro itself, and one from the Add-In.

 

So I’m wondering whether it is possible to get the original EditOperation from Pro (obtained for instance by its unique GUID, which is provided by RowChangedEventArgs) and chain the Add-In operations to it.

 

I’ve already found the FindRedoOperations/FindUndoOperations methods exposed by OperationManager, but I’m not sure whether this could be the solution.

 

Thanks in advance,

Michael

Outcomes