laptop and a wrench

不具合

The IConditionalOp.SetNull() method returns a COM error when using grayscale and binary raster in ArcObjects 10.6.1 add-in.

最後に公開された状態: September 26, 2019 ArcObjects SDK
不具合 ID 番号 BUG-000120354
送信されましたFebruary 26, 2019
最終更新日June 5, 2024
適用対象ArcObjects SDK
見つかったバージョン10.6.1
ステータスWill Not Be Addressed

参考情報

In ArcGIS SDK, certain changes had been made in Spatial Analyst extension. It is highly recommended that users to update their code accordingly. Detailed information can be found here: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#DataProcessingInSpatialAnalysisOperations.htm An alternative way is to using geoprocessing to work with add-ins, here is more information on this topic: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#RunToolsInsideAnAdd-In.htm

対処法

Use these lines of code:With error:pConditionalOp.SetNull(pLogicalOp.BooleanNot(pLogicalOp.IsNull((IGeoDataset)pRasterDataset)) as IGeoDataset, (IGeoDataset)_pDEM);No error:pConditionalOp.SetNull(pMathOp.Float(pLogicalOp.BooleanNot(pLogicalOp.IsNull((IGeoDataset)pRasterDataset))) as IGeoDataset,

再現の手順

不具合 ID: BUG-000120354

ソフトウェア:

  • ArcObjects SDK

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

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

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

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

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

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

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