removing featureclasse from filegeodatabase

3525
1
03-31-2015 01:24 AM
georgandersson
New Contributor II

hi

i'm using arcpy to remove all featueclasse from a filegeodatabase:

fcs = arcpy.ListFeatureClasses()

for fc in fcs:

arcpy.Delete_management(fc)

all featureclasse are removed, but the size of the filegeodatabase remains allmost the same.

how can i clear the filegeodatabase completely without having to delete it?

best regards

george

0 Kudos
1 Reply
ModyBuchbinder
Esri Regular Contributor

Hi

Try arcpy.Compact_management it might help.

0 Kudos