laptop and a wrench

Bug

In ArcMap and ArcGIS Pro, using Field Calculator with the Python Parser or Expression Type to calculate a new field from Shape.STArea or Shape.STLength returns Error 000539.

Last Published: April 24, 2020 ArcGIS Pro
Bug ID Number BUG-000128566
SubmittedFebruary 11, 2020
Last ModifiedNovember 12, 2025
Applies toArcGIS Pro
Version found2.5
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.9
StatusFixed

Workaround

There are two workarounds:

  1. In ArcMap, choose VBScript as the parser. However, VBScript is not an option in ArcGIS Pro.
  2. With Python chosen as parser/expression type, instead of double-clicking on Shape.STArea() or Shape.STLength(), change the syntax to !shape.area! or !shape.length! as mentioned in this documentation.

Steps to Reproduce

Bug ID: BUG-000128566

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