I am looking for a programmatic way using arcpy to determine whether or not a feature class (FC) has Z and/or M geometry. It's easy enough to get the geometry type using the code below, but this just tells me the base type (point, line, polygon) and does not have details about ZM. I would rather not have to create a cursor and read the actual feature geometries (it should not be necessary, since the entire FC must have the same geometry).
import arcpy
desc = arcpy.Describe("D:\\MyData\\Scratch.gdb\\polyzm")
geometryType = desc.shapeType
print geometryType
which returns this result:
Polygon