Skip to main content
Question

How to style the last line of Multitext differently than the rest of label.

  • December 16, 2019
  • 1 reply
  • 7 views

I have some labels in an ESRI annotation feature class and I am trying to style the last line of the text differently than the rest of the text string, I tried using attributeSplitter, splitting the text at the new line symbol and then using the test filter to find the line of text I want to style differently. After that I am aggregating the text back together that I don't want to style differently. Then I used DWG styler to style the 2 text strings differently. The only problem is that they are not aligned after I split and then aggregate the text.

I want to make the label like this

The text string comes into FME from ESRI file gdb like this

 

 

Has anyone done something like this before? I have attached example workspace of what I tried to do

1 reply

  • Author
  • December 17, 2019

I found a method that works I used the bounding box of the annotation to create 2d grid w centerpoints, then I use methods, attribute splitter, list exploder, feature merger and dwg styler here is workspace in case someone else would like it.

 

textexampleworks.fmwt


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings