import arcpy #the following workspace parameter holds the path to the geodatabase gdb_path = GetParameterAsText(0) #with the toolvalidator script, the following multivalue string parameter is #automatically populated with the names of each feature class in the above #geodatabase. that way the user can select specific feature classes. #use GetParameter to acquire it as a ValueTable fc_list = GetParameter(1) x = 0 while x < fc_list.rowCount: fc_name = fc_list.getTrueValue(x, 0) fc = gdb_path + os.sep + fc_name #do something x+=1
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.