I have a script that calculating vertices angles on Polyline layer and the selecting features in that layer at a specified angle. at the end of the script i'm using select by attribute and getting error 000840 the value is not raster layer, the value is not mosaic layer
SelectLayerByAttribute_management(my_shp_name, 'NEW_SELECTION', myquery)