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
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.