GetLogMetadata
Résumé
Controls whether geoprocessing operations are written to dataset metadata.
Discussion
To enable the update of dataset metadata, use the SetLogMetadata function or the LogMetadata class.
Syntaxe
GetLogMetadata()
Valeur de retour
| Type de données | Explication |
|---|---|
|
Boolean |
Returns whether geoprocessing operations are written to dataset metadata. |
Exemple de code
GetLogMetadata example
Disable the update of dataset metadata if enabled.
import arcpy
if arcpy.GetLogMetadata():
arcpy.SetLogMetadata(False)