Is it any way to remove input features that don't have any record ? ( In Batch Mode)

|
Is it any way to remove input features that don't have any record ? ( In Batch Mode)
|
||||
|
|
|
I think it might be easier to just use the Select tool to keep records that do have values. |
|||||
|
|
This python snippet will delete empty feature classes:
The full script is here and relies on list all feature classes in GDB, including within feature datasets. It was written for removing empty feature classes in a geodatabase but it should work for shapefiles in a directory too. I don't use it inside a model, but run it after the model has completed to clean up afterwards. |
|||
|
|