When a feature class is being created through ArcCatalog (Right click the gdb -> New feature class) and if the feature class name already exists, the process won't get finished. In fact, the "Finish" button will be in disabled state unless the name is changed. Example image as below
But if i use arcpy "arcpy.CreateFeatureclass_management" script, the already existing feature class - which has the same name as that of new one - is getting overwritten by the new one. I tried the same through "Create Feature Class (Data Management)" tool. Same result. Even though we get a warning - the process runs anyway and output feature class is being created irrespective of already existing name. Example screenshot below
I am running a script which will create feature classes in bulk. But since new feature classes are getting overwritten without error or warning, how to overcome this ?