j256

Row.shape and .extent

Discussion created by j256 on Mar 5, 2013
Latest reply on Mar 7, 2013 by mzcoyle
I was figuring out how to get a dataset's extent via python. In the help entry for extent I was intrigued to note the following sample code snippet:

for row in sCur:
    geom = row.shape
    ext = geom.extent


I am unable to find any information in the help files on the .shape class. Can anyone tell me about it? I had thought that you had to do something like this:

arcpy.Describe("Layer").extent.xmin


...so I was surprised to see this .shape.extent property. As far as I can see it's undocumented. Where am I going wrong, or where should I look? Thanks

Outcomes