mlucafo

$view.scale not working in Arcade symbology expression

Discussion created by mlucafo on Nov 6, 2018

Hi all,

I am trying to leverage Arcade in ArcGIS Pro (2.2.1) to create complex and dynamic symbology using attribute-driven expressions but I got stuck on one specific issue.

 

I was under the impression that the current scale value should be available as a global ($view.scale) under the visualization profile of Arcade, but when I try to use it in any symbol LAYER property (e.g. to change the size of one part of the symbol only) the expression doesn't work. The same expression will work perfectly if I tie it to the size of the entire symbol, which is not what I am looking for.

 

Is it a current limitation, a bug, or I am missing something somewhere?

 

Thanks

Outcomes