ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

GetSeverityLevel

  • Resumen
  • Sintaxis
  • Muestra de código

Resumen

Returns the severity level. The severity level is used to control how geoprocessing tools throw exceptions.

Sintaxis

GetSeverityLevel ()

Valor de retorno

Tipo de datosExplicación
Integer

The severity level.

  • 0 —A tool will not throw an exception, even if the tool produces an error or warning.
  • 1 —If a tool produces a warning or an error, it will throw an exception.
  • 2 —If a tool produces an error, it will throw an exception. This is the default.

Muestra de código

GetSeverityLevel example

Use GetSeverityLevel to access the severity level.

import arcpy
severity_level = arcpy.GetSeverityLevel()
print(severity_level)

Temas relacionados

  • SetSeverityLevel

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal