GetLogMetadata

Resumen

Determines whether geoprocessing operations are written to dataset metadata.

Debate

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

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)