Skip to main content
Question

I try to convert Autocad Dwf to Autocad DWG but the Text height is not changing during write stage. I force the autocad_text_size , autocad_box_height, and autocad_box_width.


billschooler
Contributor
Forum|alt.badge.img+3

I force the autocad_text_size = @Evaluate(@Value(autocad_text_size) / 100), autocad_box_height = @Evaluate(@Value(autocad_box_height, and autocad_box_width = @Evaluate(@Value(autocad_box_width) / 100).

 

When viewing the Attribute Creator transformer value they look correct but when I open AutoCAD DWG file the text is still at the original height.

I try using TextAdder and DWG styler but nothing seem to work.

 

Can someone show me what I am doing incorrectly in my workspace?

 

 

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • January 19, 2023

Try this:

In AttributeManager create a new attribute with the value autocad_text_size( /100 if you need), move autocad_text_size to the bottom of the list and remove it. Also expose and remove autocad_original_text_size, autocad_mtext_text_height.

In a second AttributeManager create an autocad_text_size attribute and set its value from the previous created attribute. Sometimes it's ok if you just rename it to autocad_text_size but create a new one to be sure.

FME passes Autocad specific attributes if you don't expose and remove them. Text size is stored in multiple attributes.

Let me know if it works for you.

DWG_text_size overwrite


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • January 21, 2023

The easiest would be.

read acad text

expose fme_text_string attribute

use labelpointreplacer transformer, change text height

write to acad


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