arcpy.ListFeatureClasses("*", ["Point", "Polygon"])
import arcpy workspace = "H:/GIS_Data/TEMP.gdb" arcpy.env.workspace = workspace # set workspace pointfcs = arcpy.ListFeatureClasses('*', 'POINT') # get the points polyfcs = arcpy.ListFeatureClasses('*', 'POLYGON') # get the polygons pointfcs.extend(polyfcs) # smash together
import arcpy from arcpy import env env.workspace = "Z:\GIS\TEMP.gdb fcList = arcpy.ListFeatureClasses() for fc in fcList: desc = arcpy.Describe(fc) if desc.shapeType == "Polygon" or "Point": print fc