Not sure if this is a bug or as intended.# Set local variables
in_features = "working.gdb\linefile"
out_feature_class = "C:/output/linefile_zeros.shp"
where_clause = '"\"Shape_Length\" = 0''
# Execute Select
arcpy.Select_analysis(in_features, out_feature_class, where_clause)
What I expected -in the shapefile linefile_zeros would be all the line features with a zero line length.What I get -The original file "linefile" now contains all of the zero length lines and linefile_zero now contains all of the features (zero's and greater)Is this working as intended?