Skip to main content
Question

How can blocks in DWG file not be broken down into their component parts after transformation


arash_hokm
Contributor
Forum|alt.badge.img+8

Hallo FME Community,

I have a DWG file with about 100 layers. I managed to reduce the layers to 20 layers with FME by merging layers. Blocks in my DWG result are broken up into their component parts and they aren't one block but several lines. does anyone know how blocks can remain as blocks after transformation.

Thanks in advance.

 

 

7 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • May 24, 2022

not check Entity Options > Explode Blocks into Entities

write as "autocad_entity" > autocad_insert


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 24, 2022

Hallo @tomfriedl​,

Thank you for reply.

mean you by ("autocad_entity" > autocad_insert) that I expose format attribute "autocad_entity" and give it that "autocad_insert"?

 


tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • May 24, 2022

Yes


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 24, 2022
tomfriedl wrote:

Yes

@tomfriedl​  I did the same. in this case I unfortunately get an empty DWG file. the layers are there but layers are empty.

 


tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • May 24, 2022

You have set autocad_block_name? The write have a "Template file" with defined block?

Block


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 24, 2022

@tomfriedl​ my transformation is DWG to DWG. I merg only many layers in 3 layer during the tranformation.

I have such complicated DWG file.

DWG (1)before the transformation I got blocks and after the transformation I would get blocks as well.

DWG (2) but I get polyline.

DWG (3)can't blocks stay as a block, if I don't have a template?

 

 


tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • May 24, 2022

You have a template. It's your source-file. Don't explode blocks.


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