hadpadmasiri

Problem in Deleting Feature Classes in Geo Database

Discussion created by hadpadmasiri on Apr 16, 2014
Latest reply on Apr 17, 2014 by doug.sands
Dear Sir

I wrote a python programme to delete feature classes in a Geo database.
it works, But feature classes are not delete. What is the reason ? and How to correct it?

Thanks

Padmasiri

import arcpy
from arcpy import env
env.workspace = r"J:\Gampaha\51027202\CM51027202.gdb\CM51027202"
FClass_List = ["CNT_Anno", "CNT_Anno_CD", "CNT_PT", "PCL_CT1"]
for FClass in FClass_List:
arcpy.DeleteFeatures_management(FClass)


<Result 'J:\\Gampaha\\51027202\\CM51027202.gdb\\CM51027202\\CNT_Anno'>
<Result 'J:\\Gampaha\\51027202\\CM51027202.gdb\\CM51027202\\CNT_Anno_CD'>
<Result 'J:\\Gampaha\\51027202\\CM51027202.gdb\\CM51027202\\CNT_PT'>
<Result 'J:\\Gampaha\\51027202\\CM51027202.gdb\\CM51027202\\PCL_CT1'>

Outcomes