We have around 50+ gdb's(in different folders) which has 450 datasets in total. Among the 450, we have a list of 100 feature dataset's for which we have to do QAQC. So is it possible to batch Check geometry process ? From ArcGIS's help page I've come across this http://pro.arcgis.com/en/pro-app/tool-reference/data-management/check-geometry.htm This code works great for a single gdb to check geometry of all the datasets within that gdb. I would like to run Check geometry process only for particular datasets within particular gdb's.
Eg: D:\QAQC\f_c.csv This will have the list of datasets for which Check geometry process has to be run. CSV will have file path like
E:\Chk\A\ddd.gdb\Feature_dataset_1
E:\Chk\B\eee.gdb\Feature_dat_1
I know the file_path should not be represented like this. Just to throw some idea on what I want, I've mentioned the path like this
Edit:
This code worked like a charm
import csv
import arcpy
csvpath = r"path\to\csv"
with open(csvpath, "r") as csvfile:
fcs = [r[0] for r in csv.reader(csvfile)]
arcpy.CheckGeometry_management(fcs, "outtable")