Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

How do I get the actual value instead of the property object

$
0
0
I'm trying to get the name of a layer in a mxd. It is a very simple mxd with one layer. I tried

Code:

lname = arcpy.mapping.Layer.name
print(lname)

and the result was <property object at 0x02A63660>

- Mike

Viewing all articles
Browse latest Browse all 2485

Trending Articles