Skip to main content
Question

Variable text sizes for DWG blocks

  • June 22, 2023
  • 1 reply
  • 61 views

kdwss
Contributor
Forum|alt.badge.img+3
  • Contributor

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

1 reply

featuremichael
Supporter
Forum|alt.badge.img+8

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


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