GetLogHistory

この ArcGIS 2.7 ドキュメントはアーカイブされており、今後更新されません。 コンテンツとリンクが古い場合があります。 最新のドキュメントをご参照ください

概要

For script tools and stand-alone scripts (scripts run outside of an ArcGIS application), you can determine whether history logging is active using the GetLogHistory function.

構文

GetLogHistory ()
戻り値
データ タイプ説明
Boolean

True, if geoprocessing logging history is enabled.

コードのサンプル

GetLogHistory example

If geoprocessing log history is active, disable logging.

import arcpy
if arcpy.GetLogHistory():
    arcpy.SetLogHistory(False)

関連トピック


このトピックの内容