fc = r"C:\temp\test.gdb\my_fc" fieldValueListA = [r[0] for r in arcpy.da.SearchCursor(fc, ["FIELD_A"])] tblB = r"C:\temp\test.gdb\tbl_b" fieldValueListB = [r[0] for r in arcpy.da.SearchCursor(tblB, ["FIELD_B"], "FIELD_A in (" + str(fieldValueListA)[1:-1] + ")")] #....and so on
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.