olivier57

row.shape for layer ?

Discussion created by olivier57 on Oct 25, 2011
Latest reply on Oct 25, 2011 by olivier57
Hi

Can someone be so kind to explain why when I use those  lines

rows = gp.SearchCursor(infc)
row = rows.Next()
feat=row.shape

it works when infc is a shapefile but not when it's a layer ? In this case, I get "Field shape does not exist" even if it exists when I open attributes in ArcView.

Thanks very much, sorry for a such basic question,

Olivier

Outcomes