NetworkAnalystExtension オブジェクトの取得

      2017/12/09

Dim pMxDocument As IMxDocument
Set pMxDocument = ThisDocument
 
Dim pUID As New UID
Set pUID.Value = "esriNetworkAnalystUI.NetworkAnalystExtension"
 
Dim pNetworkAnalystExtension As INetworkAnalystExtension
Set pNetworkAnalystExtension = Application.FindExtensionByCLSID(pUID)
'FindExtensionByNameだと正常に取得できない

 - プログラミング, ArcGIS , ,