Skip to main content
Question

writing MText to DWG with specific textsize


gpt_geoinfo
Contributor
Forum|alt.badge.img+2

Hi there,

I want to write MText (multiline text) to DWG. If there is only 1 line the textsize is correct. As soon as there are at least 2 lines, the textsize shrinks. How can I prevent this?

screenshotI attached a simple workspace (FME 2020, 64bit). My actual workspace transforms data from an oracle database to DWG.

Cheers,

Maria

PS: In 2013 the question was already asked, but without any answer.

5 replies

gpt_geoinfo
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 23, 2021

no clues?


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • March 23, 2021

Use the DWGStyler transformerDWGStyler MText


gpt_geoinfo
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 23, 2021
caracadrian wrote:

Use the DWGStyler transformerDWGStyler MText

That's what I did/do! I tried to modify the parameters in any variation. I even tried two DWG-writers (ACAD, REALDWG).

Here's a preview of my workbench:

screenshot_workbenchsame result...


gpt_geoinfo
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 29, 2021

Alright... what now works for me:

Setting the attribute autocad_mtext_text_height to the desired size. The DWGStlyer doesn't work for Multi-text. If it works for you (@caracadrian​ ) please send me a sample workspace!

 

So, thanks a lot for the hint! 🙏


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • March 29, 2021
gpt_geoinfo wrote:

Alright... what now works for me:

Setting the attribute autocad_mtext_text_height to the desired size. The DWGStlyer doesn't work for Multi-text. If it works for you (@caracadrian​ ) please send me a sample workspace!

 

So, thanks a lot for the hint! 🙏

It appears DWGStyler  doesn't create the autocad_mtext_text_height attribute, as it should.

I had some complex dynamic labeling settings and created autocad_mtext_text_height somewhere before DWGStyler and got the desired output but it is not created by default.

Maybe someone from Safe can comment on this or you can create an ideea suggestion Idea List (safe.com)


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