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

layer.datasetName returns the layer name instead of the dataset name

$
0
0
Using ArcEditor 10.0 sp5 (Evaluation version)

(See attached picture for code and results...)

When running some python code to get the dataset name for a layer in ArcMap, the layer.datasetName property returns the name of the layer instead of the dataset name. I don't think the python code gets much simpler, am I just being simple-minded?

Attachment 21921

JMiller
Attached Thumbnails
Click image for larger version

Name:	datasetname.jpg‎
Views:	N/A
Size:	121.9 KB
ID:	21921  

Viewing all articles
Browse latest Browse all 2485

Trending Articles