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();
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.