NetworkAnalystExtension オブジェクトの取得

投稿日:2016/9/1 (木) 更新日:

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

Copyright© WINGFIELD since1981 , 2018 All Rights Reserved.