POST
|
I got it . Thank you very much for your help. Translation courtesy of Google . From Spain
... View more
02-27-2015
01:42 AM
|
0
|
0
|
22373
|
POST
|
Hi Ian. Another question, please. How do I know the number of selected elements with SelectLayerByAttribute_management? Thank you very much
... View more
07-17-2014
01:08 AM
|
0
|
0
|
827
|
POST
|
Hi Ian, thank you very much for your help. The program no longer runs but I do not select any item. I will try new syntax to see if it works. I'll tell you. Thank you very much again.
... View more
07-16-2014
04:51 AM
|
0
|
0
|
827
|
POST
|
Hi Ian. I can not speak English. I am translating with google. I am very interested in adapting your script. Features-I have a class and I've added a field ID String. But when I run I get an error that I believe is in the syntax of the Query. To work with a personal geodatabase. I get the following error: Traceback (most recent call last): File "D:\A-Fichas\ZoomToID.py\ZoomToID.py", line 23, in <module> arcpy.SelectLayerByAttribute_management(Layer, "NEW_SELECTION" , "ID = " + ID) File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 6494, in SelectLayerByAttribute raise e ExecuteError: ERROR 000358: Expresión no válida Falló al ejecutar (SelectLayerByAttribute). Falló al ejecutar (ZoomToSelectedID). Error el Tue Jul 15 12:01:25 2014 (Tiempo transcurrido: 0,56 segundos) I could clarify the syntax of the query?. Thank you very much from Spain.
... View more
07-15-2014
03:03 AM
|
0
|
3
|
827
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|