ProductInfo (arcpy)

Récapitulatif

Returns the current product license.

Syntaxe

ProductInfo ()
Valeur renvoyée
Type de donnéesExplication
String
  • NotInitialized —No license set
  • ArcView —ArcGIS for Desktop Basic product license set
  • ArcEditor —ArcGIS for Desktop Standard product license set
  • ArcInfo —ArcGIS for Desktop Advanced product license set
  • Engine —Engine runtime license set
  • EngineGeoDB —Engine Geodatabase Update license set
  • ArcServer —Server license set

Exemple de code

ProductInfo example

Returns the current product license.

import arcview
import arcpy

print(arcpy.ProductInfo()) # prints ArcView

Thèmes connexes

4/26/2014