Skip to main content

I am working with a workbench that was authored close to 15 years ago. We had to change out the SDE Readers that are pulling in our GIS features. Since changing the reader the text be written to the DGN is coming out in different sizes. I have checked the output in the inspector and although the text is visually different the idgs_text_size attribute is consistent. I have tried to override this with the DGN styler but there is something else going on. 

Any ideas on how to either assess or fix this would be greatly appreciated. 

Just want to add the original workbench was fme 2014, I’m working in fme 2020. 


Try inserting an AttributeKeeper just before the writer, where you only allow the attributes that are strictly necessary.


I found my solution. The text size only controls the height of what I am going to call a text block. I had 4 flavors of text block in my workbench, 1 line, 2 lines, 3 lines and 4 lines. But the workbench that I inherited didn't account for the line number and applied the same height to each. 

I had already stripped out all of what I thought were unnecessary attributes. 

I exposed an attribute that told me the number of lines in the annotation that was coming in a then sorted on that, I then used conditional formatting to apply the height I needed for the number of lines in the text. 

The attribute that was defining the number of lines was already in the workbench that I inherited and appeared to have been created by filter the text_string attribute based on the number of carriage returns found. 


Reply