AnsweredAssumed Answered

Using python cursors in gpk

Question asked by modybsystematics-co-il-esridist Employee on May 9, 2016
Latest reply on May 11, 2016 by modybsystematics-co-il-esridist


I created a tool based on python script and pack it into gpk.

When I try to run it from RT SDK for .net as local service it does not work.

After the line "p = row[0]" I get the error that p is not defined.

I am trying to read the coordinate of a layer that was created in the tool.

I tried both "old" cursors and the da cursor.

Is this a known limitation? How can I get the value of some records in the results (I would like to return it as a string).