laptop and a wrench

不具合

Documentation located at http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000036000000.htm displays incorrect usage in DeleteFeatures example 2 (stand-alone script) for ArcPy GetCount_management tool in conditional if statement. Please correct documentation.

最後に公開された状態: August 25, 2014 ArcGIS for Desktop
不具合 ID 番号 NIM066477
送信されましたMarch 24, 2011
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.0
オペレーティング システムWindows OS
オペレーティング システムのバージョンXP
修正されたバージョン10.1
ステータスFixed

対処法

Use the int() function and getOutput method to cast the ArcPy.GetCount_management result object to unicode text and then to an integer.Example:result = arcpy.GetCount_management(tempLayer)if int(result.GetOutput(0)) > 0:

再現の手順

不具合 ID: NIM066477

ソフトウェア:

  • ArcGIS for Desktop

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

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

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

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

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

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

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