Select to view content in your preferred language

Annotation Stacking - create a second line of text in batch

177
1
Jump to solution
04-08-2025 07:17 AM
JasonBessert
Regular Contributor

I need assistance with looking for a tool or at least code that can be used to drop a second line of annotation across multiple features, mostly with a fixed value.

Below we have these circular annotations that came from Autocad as block references.  They came into PRO as separate annotation features (one for the number, the other for the #).  I doubt I have the ability to group each of the # symbols back with the above annotation feature, so the strategy is to delete the # symbols across the board, but recreate them as a part of the string of the first line, yet on the second line, as how the stack tool currently works.

JasonBessert_0-1744121201188.png

Since the grouping needs to be replicated, as in restore the # to the above numeric portion, I'm looking for a quick way that the # can be dropped as a second line of annotation beneath the numbers in the below screenshot.

JasonBessert_1-1744121378000.png

I'm aware of the Stack tool within Pro's annotation tool that separates annotation already separated by a space into a second line, but it seems to only have the capacity to work on one selected feature at a time.

Is there some kind of geoprocess or a string of python code that can add a # character to an existing string of annotation and drop it as a second line to restore the stacked annotation output shown in the first screengrab, as opposed to selecting each of the annotation features manually?

 

 

0 Kudos
1 Solution

Accepted Solutions
JasonBessert
Regular Contributor

Found the solution - a simple arcade field calculation will do the trick.  👍

 

$feature.TextString+TextFormatting.Newline+'#'

View solution in original post

0 Kudos
1 Reply
JasonBessert
Regular Contributor

Found the solution - a simple arcade field calculation will do the trick.  👍

 

$feature.TextString+TextFormatting.Newline+'#'

0 Kudos