AnsweredAssumed Answered

Execute a command in C#

Question asked by danielri on Oct 20, 2016
Latest reply on Oct 21, 2016 by danielri

In the snippits gallery there is an example of executing a built in ArcGIS Pro command. Does anyone know where I can find the list of these commands?

 

Rich Daniels

 

---
IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper("esri_editing_ShowAttributes");
var command = wrapper as ICommand; // tool and command(Button) supports this

 

if ((command != null) && command.CanExecute(null))
  command.Execute(null);

Outcomes