AnsweredAssumed Answered

Use SHAPE@ tokens in arcpy.da.SearchCursor with layer (.lyr)

Question asked by DemersM on Sep 4, 2018
Latest reply on Sep 5, 2018 by bixb0012

Hi,

 

Is it possible to use the SHAPE@ or SHAPE@JSON fields tokens in arcpy.da.SearchCursor with a layer (.lyr) as the in_table parameter with ArcGIS 10.3?

 

When I try it, I got the following error: RuntimeError: A column was specified that does not exist.

If I use the path to the feature class as the in_table parameter, it works.

Outcomes