GetLogHistory

Diese ArcGIS 2.6-Dokumentation wurde archiviert und wird nicht mehr aktualisiert. Inhalt und Links sind möglicherweise veraltet. Verwenden Sie die aktuelle Dokumentation.

Zusammenfassung

For script tools and stand-alone scripts (scripts run outside of an ArcGIS application), you can determine whether history logging is active using the GetLogHistory function.

Syntax

GetLogHistory ()
Rückgabewert
DatentypErklärung
Boolean

True, if geoprocessing logging history is enabled.

Codebeispiel

GetLogHistory example

If geoprocessing log history is active, disable logging.

import arcpy
if arcpy.GetLogHistory():
    arcpy.SetLogHistory(False)

Verwandte Themen


In diesem Thema