<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is &amp;quot;LENGTH&amp;quot; no longer an option for CalculateGeometryAttributes()? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680876#M75075</link>
    <description>&lt;P&gt;Using ArcGIS Pro v3.5.5, and trying to calculate planar feet for a line feature class:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.management.&lt;/SPAN&gt;&lt;SPAN&gt;CalculateGeometryAttributes&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;in_features&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;line_fc&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;geometry_property&lt;/SPAN&gt;&lt;SPAN&gt;=[[&lt;/SPAN&gt;&lt;SPAN&gt;"Length"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; "LENGTH"&lt;SPAN&gt;]],&lt;/SPAN&gt; &lt;SPAN&gt;length_unit&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"FEET_INT"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;However, I'm getting an error that says "LENGTH" is no longer an accepted input value, and that I can only use "LENGTH_GEODESIC" or "LENGTH_3D". It is still listed in &lt;A href="https://pro.arcgis.com/en/pro-app/3.5/tool-reference/data-management/calculate-geometry-attributes.htm" target="_self"&gt;ESRI's documentation&lt;/A&gt; as an option though, and is also an option when calculating geometry via ArcGIS Pro GUI.&lt;/P&gt;&lt;P&gt;Here is the error:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000800: The value is not a member of LENGTH_GEODESIC | LENGTH_3D | LINE_BEARING | PART_COUNT | POINT_COUNT | CURVE_COUNT | LINE_START_X | LINE_START_Y | LINE_START_Z | LINE_END_X | LINE_END_Y | LINE_END_Z | CENTROID_X | CENTROID_Y | CENTROID_Z | INSIDE_X | INSIDE_Y | INSIDE_Z | EXTENT_MIN_X | EXTENT_MIN_Y | EXTENT_MIN_Z | EXTENT_MAX_X | EXTENT_MAX_Y | EXTENT_MAX_Z.
Failed to execute (CalculateGeometryAttributes).&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Wondering if this is a bug, or if it's removal from arcpy() is intentional? For what it's worth, that line of code worked for me in ArcGIS Pro v3.3.2, prior to upgrading to v3.5.5. For now, I've coded up a workaround using&amp;nbsp;!shape.length@feet!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2026 18:55:10 GMT</pubDate>
    <dc:creator>GB_MattPanunto_GISS</dc:creator>
    <dc:date>2026-01-29T18:55:10Z</dc:date>
    <item>
      <title>Is "LENGTH" no longer an option for CalculateGeometryAttributes()?</title>
      <link>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680876#M75075</link>
      <description>&lt;P&gt;Using ArcGIS Pro v3.5.5, and trying to calculate planar feet for a line feature class:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.management.&lt;/SPAN&gt;&lt;SPAN&gt;CalculateGeometryAttributes&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;in_features&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;line_fc&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;geometry_property&lt;/SPAN&gt;&lt;SPAN&gt;=[[&lt;/SPAN&gt;&lt;SPAN&gt;"Length"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; "LENGTH"&lt;SPAN&gt;]],&lt;/SPAN&gt; &lt;SPAN&gt;length_unit&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"FEET_INT"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;However, I'm getting an error that says "LENGTH" is no longer an accepted input value, and that I can only use "LENGTH_GEODESIC" or "LENGTH_3D". It is still listed in &lt;A href="https://pro.arcgis.com/en/pro-app/3.5/tool-reference/data-management/calculate-geometry-attributes.htm" target="_self"&gt;ESRI's documentation&lt;/A&gt; as an option though, and is also an option when calculating geometry via ArcGIS Pro GUI.&lt;/P&gt;&lt;P&gt;Here is the error:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000800: The value is not a member of LENGTH_GEODESIC | LENGTH_3D | LINE_BEARING | PART_COUNT | POINT_COUNT | CURVE_COUNT | LINE_START_X | LINE_START_Y | LINE_START_Z | LINE_END_X | LINE_END_Y | LINE_END_Z | CENTROID_X | CENTROID_Y | CENTROID_Z | INSIDE_X | INSIDE_Y | INSIDE_Z | EXTENT_MIN_X | EXTENT_MIN_Y | EXTENT_MIN_Z | EXTENT_MAX_X | EXTENT_MAX_Y | EXTENT_MAX_Z.
Failed to execute (CalculateGeometryAttributes).&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Wondering if this is a bug, or if it's removal from arcpy() is intentional? For what it's worth, that line of code worked for me in ArcGIS Pro v3.3.2, prior to upgrading to v3.5.5. For now, I've coded up a workaround using&amp;nbsp;!shape.length@feet!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 18:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680876#M75075</guid>
      <dc:creator>GB_MattPanunto_GISS</dc:creator>
      <dc:date>2026-01-29T18:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is "LENGTH" no longer an option for CalculateGeometryAttributes()?</title>
      <link>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680909#M75076</link>
      <description>&lt;P&gt;It looks to me that it is intentional.&lt;BR /&gt;&lt;BR /&gt;You can try below code as a workaround.&lt;BR /&gt;arcpy.management.CalculateField(line_fc, "Length_Feet", "!shape.length@feet!", "PYTHON3")&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm" target="_blank"&gt;Calculate Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 19:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680909#M75076</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2026-01-29T19:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is "LENGTH" no longer an option for CalculateGeometryAttributes()?</title>
      <link>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680936#M75077</link>
      <description>&lt;P&gt;is "Length" and existing field name in the geodatabase? (checking for a reserved word trigger),&lt;/P&gt;&lt;P&gt;if it isn't try using a different name.&lt;/P&gt;&lt;P&gt;There are no publicly facing bugs bugs on the Support web site for this version of Pro&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 21:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680936#M75077</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2026-01-29T21:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is "LENGTH" no longer an option for CalculateGeometryAttributes()?</title>
      <link>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680989#M75078</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;, I'm getting the same error for other feature classes in separate GDBs where "Length" is not being used as a field name.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/923685"&gt;@VenkataKondepati&lt;/a&gt;,&amp;nbsp;after reading the &lt;A href="https://pro.arcgis.com/en/pro-app/3.5/tool-reference/data-management/calculate-field.htm" target="_self"&gt;CalculateField&lt;/A&gt; documentation more thoroughly, I noticed this syntax can be used:&amp;nbsp;&lt;STRONG&gt;!shape!.getLength('PLANAR', 'FeetInt')&lt;/STRONG&gt;, which is helpful&amp;nbsp;because it allows you to control both the measurement method (Geodesic vs Planar) and the output unit.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 23:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680989#M75078</guid>
      <dc:creator>GB_MattPanunto_GISS</dc:creator>
      <dc:date>2026-01-29T23:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is "LENGTH" no longer an option for CalculateGeometryAttributes()?</title>
      <link>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680991#M75079</link>
      <description>&lt;P&gt;Yes. This should work as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 23:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-quot-length-quot-no-longer-an-option-for/m-p/1680991#M75079</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2026-01-29T23:15:29Z</dc:date>
    </item>
  </channel>
</rss>

