ESRI.ArcGIS.Framework.ICommandBars cmdBar = GlobalVars.m_application.Document.CommandBars; UID uid = new UIDClass(); uid.Value = "{06DD3F57-CF78-41BA-83F4-D13A8679914F}"; ESRI.ArcGIS.Framework.ICommandItem cmdItem = cmdBar.Find(uid, false, false); if (cmdItem != null) cmdItem.Execute(); //Update the selected features on the map ISelectionEvents selEvents = (ISelectionEvents)map; selEvents.SelectionChanged(); //Refresh the map pMxDoc.ActiveView.Refresh();
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.