2
votes
Accepted
How to tell if a layer is Z-aware or M-aware
A simpler approach is in the following code I provide, it checks if the layer is a vector dataset then checks the properties of the layer using the Describe Object:
import arcpy
mxd = arcpy.mapping....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
geoprocessing × 1044arcgis-desktop × 355
arcpy × 160
qgis × 137
python × 113
arcgis-10.0 × 100
arcgis-server × 86
arcgis-10.1 × 80
arcobjects × 78
arcmap × 72
arcgis-10.2 × 61
modelbuilder × 55
raster × 38
polygon × 37
buffer × 31
c# × 29
arctoolbox × 28
shapefile × 27
coordinate-system × 26
clip × 26
vector × 24
postgis × 23
arcgis-10.3 × 22
.net × 22
arcgis-pro × 21