ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • ArcGIS Pro
  • ArcMap
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ArcGIS Pro
  • ArcMap
Esri
English
  • English
  • Deutsch
  • Español
  • Français
  • 日本語
  • Русский
  • 简体中文
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

ExecuteError

ArcMap 10.8
|
ヘルプのアーカイブ
ArcGIS Desktop は、「mature support」で、2026 年 3 月 1 日に廃止されます。 ArcGIS Desktop の今後のリリース予定はないため、ArcGIS Pro に移行することをお勧めします。 詳細については、「ArcMap から ArcGIS Pro への移行」をご参照ください。
  • 概要
  • コードのサンプル

概要

The ExecuteError exception class is raised whenever a geoprocessing tool encounters an error.

コードのサンプル

ExecuteError exception example

The ExecuteError class is used below to specifically handle any geoprocessing tool errors that result from CopyFeatures.

import arcpy

in_features = "c:/base/transport.gdb/roads"

try:
    # Note: CopyFeatures will always fail if the input and output are
    # the same feature class
    arcpy.CopyFeatures_management(in_features, in_features)

except arcpy.ExecuteError:
    print(arcpy.GetMessages())

関連トピック

  • Python でのエラー処理
  • ExecuteWarning

ArcGIS Desktop

  • ホーム
  • ArcGIS Pro
  • ArcMap
  • ドキュメント
  • サポート

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル