Skip to main content

How can I change the text sizes for individual elements in blocks? In AutoCAD itself I can set the text sizes within the block. In FME I set text size with autocad_text_size, but this sets the text size for all the elements and overwrites what is in the block.

 

So I'd like to set the 1-2-3-4-5-6-7-8 to be much smaller than Existing and Grass

image.png

Hey @kdwss​ 

 

you need to dig a litte bit deeper into the autocad block world :D

 

1.) Autocad Reader -> Parameter: Explode Blocks into Entities: set to No

2.) View the Data with an Data Inspector and check the "fme_attrib_info{0}" attribute of the block <- in here you will find the specified attributes and how autocad should handle the block all the attribute, sizes for the text and so on.

3.) To geht your Value "1-2-3-4-5-6-7-8" to a Smaller Size you musst check - where the height of the Text is Set in the Block -

it could be like:

  • fme_attrib_info{3}.field_name: numbers of block
  • fme_attrib_info{3}.height: 0.375 <---- thats the size

 

4.) use the "AttributeExposer" transformer to get used of the "fme_attrib_info" after this use an attributecreator to create the value that you need.

"fme_attrib_info{2}.height = 0.5"

 

Greetings Michael

 


Reply