Layer (arcpy.mapping)

Summary

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

Discussion

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

Syntax

Layer (lyr_file_path)
ParameterExplanationData Type
lyr_file_path

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

String
Return Value
Data TypeExplanation
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.

3/3/2014