Skip to main content

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)