Skip to main content
Solved

Read DWG-Blocks - write DWG-Blocks


gpt_geoinfo
Contributor
Forum|alt.badge.img+2

Hi,

I'm struggling with DWG-Blocks...

I have a DWG-file with a lot of points being in a block each of them (one point in one block), with some attributes. In FME I need to make an offset in direction of z. Then, I want to write it to a DWG-file again.

Unfortunately the blocks don't get into the file. The file is empty.

What do I need to know to correctly form blocks and bring them into the DWG-file?

Thanks in advance!

Maria

FME-version: 2016 (16177), 64bit

Best answer by mark_f

The file you are writing into needs to use a template file containing the Blocks and specify file in the Writer parameters - you could use your source file as the template assuming the blocks are to remain the same. When converting GIS to CAD in the past I've had to specify the Format Attribute autocad_block_name to define the block name. Going from DWG to DWG that would get passed through.

 

 

Also on the reader is the option Explode Blocks into Entities set to No
View original
Did this help you find an answer to your question?

2 replies

Forum|alt.badge.img+2
  • Best Answer
  • April 5, 2016

The file you are writing into needs to use a template file containing the Blocks and specify file in the Writer parameters - you could use your source file as the template assuming the blocks are to remain the same. When converting GIS to CAD in the past I've had to specify the Format Attribute autocad_block_name to define the block name. Going from DWG to DWG that would get passed through.

 

 

Also on the reader is the option Explode Blocks into Entities set to No

gpt_geoinfo
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • April 6, 2016

Hi Mark,

too easy...

thanks a lot for the hint! The magic word was "template file contatining blocks".


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