ArcGIS Pro 3.1.2 and 2.6.8; File Geodatabase:
I have a feature class called POLY. I've deleted some features so the extents are now out of date. When I add the FC to a blank map, the map zooms to the old extents, not the new extents, which is expected.
So I use the Recalculate Feature Class Extent geoprocessing tool to update the extents. The tool runs without errors, but it doesn't seem to have had an effect. When I add the FC to a blank map, it still zooms to the old extents.
Whereas, if I copy/paste the FC in Catalog, the new FC zooms to the new extents successfully.
Video:
Why isn't the Recalculate Feature Class Extent tool updating the extents properly?
Thanks.
I restarted ArcGIS Pro. Now, the FC where I recalculated the extents is zooming to the correct/updated extents.
I wonder why it's necessary to restart Pro.
Sounds like your spatial grid indexes were stale. To reset them, go to the feature class in the Catalog Pane, right-click on the feature class->Properties. Click the Indexes tab and expand Spatial Index. Click Recalculate. Voila! Spatial grid indexes are rebuilt.
This worked for me. Thanks!