Skip to main content

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

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.


Ah okay, I was not aware that I could simply overwrite the existing fgdb. Thanks for your input, I am running this now. 

 

Thanks

B


Reply