Sub CreateLayerPackage() Dim uid As New uid uid.Value = "{18DF94D9-0F8A-11D2-94B1-080009EEBECB}:23" Dim mxDoc As IMxDocument Set mxDoc = ThisDocument mxDoc.ContextItem = mxDoc.FocusMap.Layer(0) Dim commandItem As ICommandItem Set commandItem = ThisDocument.CommandBars.Find(uid) commandItem.Execute End Sub
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.