ArcGIS Pro 2.5 - How to set leader line to match annotation alignment?

372
1
05-06-2020 10:22 AM
VincentLaunstorfer
Occasional Contributor III

Hi,

I have hundreds of annotation stored in a GDB, with either Horizontal alignment to left or right. These annotations also have a Callout -> Background -> with only Leader line symbol.

However, I have quite a few annotation where Horizontal alignment do not match the Leader line. For example, I can have a Right Horizontal alignment with a Left Leader line. Is it possible to calculate the HorizontalAlignment in the attribute tables with a Python expression taking into consideration the Leader line position?

Thanks

Annotation Alignment

HorizontalAlignment calculate

0 Kudos
1 Reply
piratecheese
New Contributor III

Subscribing to this as I'm interested in ANY pyton or arcade expressions related to callouts. Specifically I'm looking to set conditional formatting.

Something in the vein of

IIF( feature.field= fairway, <leaderline>color = green</leaderline>, else...)

0 Kudos