GetLogMetadata

Resumen

Controls whether geoprocessing operations are written to dataset metadata.

Debate

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

Sintaxis

GetLogMetadata ()
Valor de retorno
Tipo de datosExplicación
Boolean

Returns whether geoprocessing operations are written to dataset metadata.

Muestra de código

GetLogMetadata example

Disable the update of dataset metadata if enabled.

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