GetLogMetadata

サマリー

Controls whether geoprocessing operations are written to dataset metadata.

説明

To enable the update of dataset metadata, use the SetLogMetadata function or the LogMetadata class.

構文

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

Returns whether geoprocessing operations are written to dataset metadata.

コードのサンプル

GetLogMetadata example

Disable the update of dataset metadata if enabled.

import arcpy
if arcpy.GetLogMetadata():
    arcpy.SetLogMetadata(False)