I'm testing layers in the current document using the
Describe function. My code is:
for lyr in arcpy.mapping.ListLayers(df): if(lyr.isGroupLayer == False and lyr.isRasterLayer == False): x = arcpy.Describe(str(lyr))
It's throwing an error on the annotation layer:
"LSDSectionBoundaryAnno\Default" does not exist
I'm thinking that the Describe function doesn't like annotation layers or the subclasses? Can I use Describe on annotation layers and if not, how would I filter out annotation layers? There doesn't seem to be a 'isAnnotationLayer' property.