Hi,
I have a fgdb, I want to drop all existing features classes within the fgdb and write in a new one. Is this possible?
Thanks
B
Hi,
I have a fgdb, I want to drop all existing features classes within the fgdb and write in a new one. Is this possible?
Thanks
B
Best answer by nielsgerrits
I wonder why you want to do this instead of overwriting the file geodatabase?
But if you have features for all featureclasses, you can simply set the FeatureWriter to Drop and Create. But if you have featureclass “A” and no features for featureclass “A” it will not touch that one.
I would use a PythonCaller to drop all featureclasses in the gdb. Even I can do this nowadays using the AI Assist in the PythonCaller. Just ask for “Drop all featureclasses in a file geodatabase.”
If you do not have ESRI software and can not run ArcPy, an alternative is to generate a dummy feature for each featureclass you have no features for.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.