laptop and a wrench

Bug

The ArcPy GetCount function returns the number of features in the feature layer with a definition query applied instead of the number of features in the feature class after using the ConvertLabelsToAnnotation function if the feature layer and the feature class have the same name.

Last Published: August 12, 2020 ArcGIS Pro
Bug ID Number BUG-000131613
SubmittedJune 15, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.5.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

Get Count runs against the actual feature classes on disk. Converts Labels to Annotation runs against the layers in the map. Its outputs, _anno feature classes, include the layer definition. Get Count does not honor layer properties--that's why the _anno feature classes are not counted.

Steps to Reproduce

Bug ID: BUG-000131613

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options