POST
|
All works and all is fixed! Thank you for your time!
... View more
04-10-2015
01:14 PM
|
1
|
0
|
428
|
POST
|
import arcpy arcpy.env.workspace = "D:\test_script\clip.gdb" fcList = arcpy.ListFeatureClasses() for fc in fcList: result = arcpy.GetCount_management(fc) count = int(result.getOutput(0)) if count == 0: arcpy.Delete_management(fc)
... View more
04-10-2015
12:35 PM
|
0
|
2
|
428
|
POST
|
Sorry about that, I am new to this environment. I am not returning anything on the code listed above. After running module, nothing is returned. Anything on this?
... View more
04-10-2015
10:57 AM
|
0
|
4
|
428
|
POST
|
I am returning the following error for this script: for fc in fcs: TypeError: 'NoneType' object is not iterable Is there a fix for this?
... View more
04-10-2015
10:56 AM
|
0
|
0
|
1670
|
POST
|
I am returning the following error for this script: for fc in fcList: TypeError: 'NoneType' object is not iterable Is there a fix for this?
... View more
04-10-2015
10:55 AM
|
0
|
1
|
1670
|
POST
|
Hey James, This looks like the exact solution that I am looking for. Thank you very much for the assistance. Looks like part of the code is missing on the right side. Do you have a screen shot of the missing part as well?
... View more
04-10-2015
09:18 AM
|
0
|
6
|
1670
|
POST
|
Hello, I have many feature classes in multiple gdbs that have empty feature classes. Is there anyway to automate a process to look through each .gdb, find the empty feature classes, and to delete the empty feature classes from the .gdb? Thank you for your time all! Regards, Tom
... View more
04-10-2015
07:02 AM
|
0
|
16
|
6246
|
POST
|
Hello, I have many feature classes in multiple gdbs that have empty feature classes. Is there anyway to automate a process to look through each .gdb, find the empty feature classes, and to delete the empty feature classes from the .gdb? Thank you for your time all! Regards, Tom
... View more
04-09-2015
01:17 PM
|
0
|
2
|
4885
|
Title | Kudos | Posted |
---|---|---|
1 | 04-10-2015 01:14 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|