laptop and a wrench

不具合

Interacting with the Utility Network toolbar crashes the ArcMap application if a custom or an existing command is programmatically added to the toolbar.

最後に公開された状態: August 25, 2014 ArcGIS for Desktop
不具合 ID 番号 NIM047024
送信されましたJuly 23, 2009
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン9.3.1
プログラム言語C#
オペレーティング システムWindows OS
オペレーティング システムのバージョンXP
修正されたバージョン10.0
ステータスFixed

対処法

A workaround to this problem is to ensuring in the code that the Utility Network Analysis Extension is started before finding the toolbar and adding the command.Here is the code that will do this: void OnInitialized() { this.m_UtilityNetworkToolbarUID = (m_application as IObjectFactory).Create("esriSystem.UID") as UID; this.m_UtilityNetworkToolbarUID.Value = "esriEditorExt.UtilityNetworkToolBar"; this.m_UtilityDetermineClientsAndValvesUID = (m_application as IObjectFactory).Create("esriSystem.UID") as UID; this.m_UtilityDetermineClientsAndValvesUID.Value ="{8603563F-D907-4271-BDC2-9160C6FDA123}"; UID extUID = new UIDClass(); extUID.Value = "esriEditorExt.UtilityNetworkAnalysisExt"; object obj = new object(); IExtensionManagerAdmin pExtAdmin = new ExtensionManagerClass(); pExtAdmin.AddExtension(extUID, ref obj); CheckMenuValidity(); }

再現の手順

不具合 ID: NIM047024

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動