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();
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.