Layer (arcpy.mapping)

Récapitulatif

References a layer (.lyr) file stored on disk.

Discussion

For a more complete discussion, refer to the Layer Class help topic.

Syntaxe

Layer (lyr_file_path)
ParamètreExplicationType de données
lyr_file_path

A string that includes the full path and file name of an existing layer (.lyr) file.

String
Valeur renvoyée
Type de donnéesExplication
Layer

The Layer object provides access to a layer file's layer properties and provides different options for saving a layer (.lyr) file to disk.

4/26/2014