removing featureclasse from filegeodatabase

3405
1
03-31-2015 01:24 AM
Highlighted
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

Reply
0 Kudos
1 Reply
Highlighted
Regular Contributor II

Hi

Try arcpy.Compact_management it might help.

Reply
0 Kudos