Get paths of polyline with true curve (Pro 2.6.8)

393
1
04-01-2022 11:23 AM
Labels (1)
Bud
by
Notable Contributor

I have an Arcade expression that outputs polyline paths as text:

Dictionary(Text(Geometry($feature)))['paths']
 

That expression works as expected when the polyline doesn't have true curves:

Bud_3-1648836666595.png


However, if I use a line that does have true curves, then it fails:

Failed to create new feature(s). The row contains a bad value.

Bud_4-1648836913928.png

Note: I don't have that problem with Pro 2.9.2. The expression works on a line with true curves, without issue.


Question:
Why does the paths expression fail for lines with true curves in Pro 2.6.8?

Background info: 
Attribute rule works in Pro 2.9.2, but not in Pro 2.6.8

Thanks!

0 Kudos
1 Reply
ThomasHoman
Occasional Contributor III

Hi Bud,

I think the simplest answer to your question is that Arcade is being actively worked on like other ESRI software offerings. Thus at some point the functionality you needed was added into Arcade.

If you look at the Arcade version matrix https://developers.arcgis.com/arcade/guide/version-matrix/ you can see that Pro 2.6 uses Arcade 1.11 and Pro 2.9 uses Arcade 1.15. 

If you need a more specific answer may I suggest reviewing the Arcade Release Notes https://developers.arcgis.com/arcade/guide/release-notes/ to find where the function changed. I didn't see anything obvious but did not drill into each update link looking for your specific change.

I hope this helps.

Respectfully,

Tom

 

0 Kudos