Skip to main content

Within ArcGIS Pro 3.1 I am creating annotations with the help of Arcade (a lightweigth expression language). The outcome is as shown below, basically a fraction

fractions in AGPWhen I read the annotation layer from the file geodatabase, FME does not interpret the HTML tags in the text string, but counts them as part of the text.

HTML tags in annotationsI there a way to make FME interpret these tags correctly?

 

My final product should be a dgn file with a level holding these 'labels' and I was wondering if that is possible, and if I can achieve this with FME.

 

The 'fracture' consists basically of three parts as I see it:

  1. nominator that is underlined
  2. line break
  3. denominator without underline

Hi @Thomas Becker​ you could use Regex to remove the HTML tags from the label to recreate the labels. The next step would be to reproduce the underlined text, the line break, and the denominator. To get you started, you could use the following Regex statement in a StringReplacer to remove the HTML tags:

<p^<]+?>

 image


Reply